Sha256: 471f40ff5185bef355c35e73a96b6c2f84c760f581b84008d0df4deabe2b644c

Contents?: true

Size: 141 Bytes

Versions: 22

Compression:

Stored size: 141 Bytes

Contents

class SuperAdminPermit < CanTango::RolePermit
  def initialize ability
    super
  end

  def static_rules
    can :manage, :all
  end  
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
cantango-0.9.4.7 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4.6 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4.5 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4.3 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4.2 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4.1 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.4 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.9.3.2 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9.5 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9.4 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9.3 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9.2 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9.1 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.9 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.8.1 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.8 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.7 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.6.2 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.6.1 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb
cantango-0.8.6 spec/active_record/scenarios/shared/permits/role/super_admin_permit.rb