Class: Decidim::Initiatives::Admin::InitiativesTypesPermissionsController

Inherits:
Admin::ResourcePermissionsController show all
Defined in:
decidim-initiatives/app/controllers/decidim/initiatives/admin/initiatives_types_permissions_controller.rb

Overview

Controller that allows managing initiatives types permissions in the admin panel.

Instance Method Summary collapse

Methods inherited from Admin::ResourcePermissionsController

#edit, #update

Methods inherited from Admin::ApplicationController

#permission_scope, #user_has_no_permission_path, #user_not_authorized_path

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from NeedsSnippets

#snippets

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#permission_class_chainObject


15
16
17
# File 'decidim-initiatives/app/controllers/decidim/initiatives/admin/initiatives_types_permissions_controller.rb', line 15

def permission_class_chain
  ::Decidim.permissions_registry.chain_for(::Decidim::Initiatives::Admin::InitiativesTypesPermissionsController)
end