Module: System::Admin::InstanceAdminAbilityComponent

Includes:
AbilityHost::Component
Defined in:
app/models/components/system/admin/instance_admin_ability_component.rb

Instance Method Summary collapse

Instance Method Details

#define_permissionsObject


5
6
7
8
9
10
11
12
13
14
# File 'app/models/components/system/admin/instance_admin_ability_component.rb', line 5

def define_permissions
  if user
    allow_instance_admin_manage_instance
    allow_instance_admin_manage_instance_users
    allow_instance_admin_manage_courses
    allow_instance_admin_manage_role_requests
  end

  super
end