Module: Decidim::Admin::Concerns::HasPrivateUsersCsvImport

Extended by:
ActiveSupport::Concern
Included in:
Decidim::Assemblies::Admin::ParticipatorySpacePrivateUsersCsvImportsController, ParticipatoryProcesses::Admin::ParticipatorySpacePrivateUsersCsvImportsController
Defined in:
decidim-admin/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb

Overview

PrivateUsers can be related to any ParticipatorySpace, in order to import private users from csv 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.