Class: Decidim::Admin::UserManagerPermissions
- Inherits:
-
DefaultPermissions
- Object
- DefaultPermissions
- Decidim::Admin::UserManagerPermissions
- Defined in:
- app/permissions/decidim/admin/user_manager_permissions.rb
Instance Method Summary collapse
Instance Method Details
#permissions ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'app/permissions/decidim/admin/user_manager_permissions.rb', line 6 def return unless user_manager? || user.admin? allow! if read_admin_dashboard_action? allow! if managed_user_action? allow! if user_action? end |