Octree |
Contact Us |
Our Blog (FR)
Decidim |
Decidim Docs |
Participatory Governance (meta decidim)
Decidim Community (Matrix+Element.io)
A verification workflow dedicated to impersonation, sponsored by the Participer Lausanne.
Have you ever enabled a Decidim direct verification just to enable impersonation? I guess you have. Using verification for impersonation has some unfortunate side effects:
- Users see in the "Authorization" tab an authorization that most of the time doesn't have any meaning. (Like "Direct Verification")
- Users can submit a direct verification dedicated to impersonation => this makes no sense.
- Impersonated Users see in their account that they have been authorized, but it does not give any insight about authorized to do what, and when the impersonation has been done. => this is a waste.
This module fixes that, doing very little:
- A "Simple Impersonation" Verification will be available in /system
- Users don't see anymore the "Simple Impersonation" in the Authorization tab
- Admins can impersonate Users giving a Reason to impersonate only. No additional fields are required.
- "Simple Impersonation Verifications" can be created only by registered admins.
Add this line to your application's Gemfile:
gem "decidim-verifications-simple_impersonation", git: "https://github.com/octree-gva/decidim-verifications-simple_impersonation"
Then execute:
bundle
The Rakefile is shipped with a test_app
using docker-compose
to run a database.
If you haven't done it already, install docker](https://docs.docker.com/get-docker/).
bundle exec rake test_app
This repository is not yet ready for contributions.
This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.