Class: Decidim::Permissions
- Inherits:
-
DefaultPermissions
- Object
- DefaultPermissions
- Decidim::Permissions
- Defined in:
- app/permissions/decidim/permissions.rb
Instance Method Summary collapse
Methods inherited from DefaultPermissions
Constructor Details
This class inherits a constructor from Decidim::DefaultPermissions
Instance Method Details
#permissions ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'app/permissions/decidim/permissions.rb', line 5 def return unless .scope == :public read_public_pages_action? locales_action? component_public_action? search_scope_action? return unless user manage_self_user_action? follow_action? amend_action? notification_action? conversation_action? user_group_action? user_group_invitations_action? if .subject == :endorsement end |