Class: Decidim::Pages::Permissions
- Inherits:
-
DefaultPermissions
- Object
- DefaultPermissions
- Decidim::Pages::Permissions
- Defined in:
- app/permissions/decidim/pages/permissions.rb
Instance Method Summary collapse
Instance Method Details
#permissions ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/permissions/decidim/pages/permissions.rb', line 6 def return if .scope != :admin .allow! if .action == :update end |