Module: UsersAbilityComponent

Includes:
AbilityHost::Component
Defined in:
app/models/components/users_ability_component.rb

Instance Method Summary collapse

Instance Method Details

#define_permissionsObject


5
6
7
8
9
10
# File 'app/models/components/users_ability_component.rb', line 5

def define_permissions
  allow_registered_user_manage_emails if user
  allow_registered_user_submit_role_requests if user

  super
end