There's a lot of open issues
No release in over a year
Transform proposals component to allow not signed in users creation of proposals.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 0.25.1
~> 1.5
 Project Readme

Decidim::AnonymousProposals

Transform proposals component to allow not signed in users creation of proposals. For this the proposals created anonymously will be linked with a special anonymous users group. There is a task to create/update anonymous groups in organizations explained in Installation section.

The creation of anonymous proposals can be disabled for each proposals component individually. Once you have installed this module and added an anonymous group, anonymous proposals will be enabled by default on all proposal components.

Installation

Add this line to your application's Gemfile:

For Decidim 0.28:

gem "decidim-anonymous_proposals", git: "https://github.com/PopulateTools/decidim-module-anonymous_proposals", branch: "release/0.28-stable"

For Decidim 0.27:

gem "decidim-anonymous_proposals", git: "https://github.com/PopulateTools/decidim-module-anonymous_proposals", branch: "release/0.27-stable"

For Decidim 0.26:

gem "decidim-anonymous_proposals", git: "https://github.com/PopulateTools/decidim-module-anonymous_proposals", branch: "release/0.26-stable"

For Decidim 0.25:

gem "decidim-anonymous_proposals", git: "https://github.com/PopulateTools/decidim-module-anonymous_proposals", branch: "release/0.25-stable"

For Decidim 0.24:

gem "decidim-anonymous_proposals", git: "https://github.com/PopulateTools/decidim-module-anonymous_proposals", branch: "release/0.24-stable"

And then execute:

bundle

To have the functionality available there must be at least one anonymous user group. An anonymous user group is a user group with { anonymous: true } present in the extended_data attribute. There is a task to create automatically or update the first anonymous group of organizations (or a specific organization if its id is provided).

The task accepts the following arguments:

  1. Name of the group (default: "Anonymous")
  2. Nickname of the group (default: "anonymous")
  3. Email of the group (default: "anonymous@example.org")
  4. organization_id. This argument is optional, if not provided a group is generated with the previous configurations for each organization

Example of use:

rake decidim_anonymous_proposals:generate_anonymous_group["Aportaciones anĂ³nimas",anonima,anonymous@example.org]

Contributing

See Decidim.

License

This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.