Class: Spree::PermissionSets::SuperUser Private

Inherits:
Base
  • Object
show all
Defined in:
lib/spree/permission_sets/super_user.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary (collapse)

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Spree::PermissionSets::Base

Instance Method Details

- (Object) activate!

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/spree/permission_sets/super_user.rb', line 4

def activate!
  can :manage, :all
end