Skip to content

collective/collective.consent

Repository files navigation

collective.consent

Provides a functionality to ask authenticated users for consent to different topics, before they can continue. One can add multiple consent items and define which user will have to give there consent based on there permission roles. Each of this users have to give the consent before they can continue to work.

Demo

Demo

This is realized by viewlet which will check a list of consents for each user/consent_item combination and redirect the user to the consent item case they still have to give there consent. Soup Internally the consents are stored in a soup on the ConsentsContainer ('/consents') object.

Features

  • Allows you to add multiple consent items (documents).
  • A consent item consists of a Title, Description, RichText and a custom button text.
  • Also you can define an update period, when the user has to give the consent again.
  • For every consent item one can choose the target permission roles and consent update period.
  • Users are only ask for consent on published consent items.
  • One can reset (invalidate) all existing consents for a consent item.

ToDo

  • Support local roles, currently only if the user has global roles that match, she will see the consent note.
  • Add a global list of consents, sorted per user (maybe)
  • remove Anonymous from roles vocab, as we only support authenticated users
  • allow users to remove there consent?
  • list given consents on the user dashboard (action: my consents)

Installation

Install collective.consent by adding it to your buildout:

[buildout]

...

eggs =
    collective.consent

and then running bin/buildout, start Plone and activate the add-on in the add-on's control panel. Then add a ConsentContainer on the top-level (portal-root).

Thanks

Initial implementation by: Derico - https://derico.de Sponsored by https://www.uni-giessen.de

Contributors

Contribute

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

About

Provides a functionality to ask users for consent to different topics, before they can continue.

Topics

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

No packages published