Module: Decidim::Admin::Concerns::HasPrivateUsers
- Extended by:
- ActiveSupport::Concern
- Included in:
- Decidim::Assemblies::Admin::ParticipatorySpacePrivateUsersController, ParticipatoryProcesses::Admin::ParticipatorySpacePrivateUsersController
- Defined in:
- decidim-admin/app/controllers/decidim/admin/concerns/has_private_users.rb
Overview
PrivateUsers can be related to any ParticipatorySpace, in order to manage the private users for a given type, you should create a new controller and include this concern.
The only requirement is to define a ‘privatable_to` method that returns an instance of the model to relate the private_user to.