Skip to main content

Provides a functionality to ask users for consent to different topics.

Project description

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.

collective.consent-demo.gif

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

  • 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.

Contributors

Changelog

1.0b3 (2021-02-09)

  • Fix permission on consent_item_consents view [MrTango]

1.0b2 (2019-11-19)

  • add plone.app.contenttypes as dependency [MrTango]

  • sync travis config with tox config [MrTango]

  • remove plone.app.contenttypes dependency and define RichText field our self. [MrTango]

  • Add some german translations [MrTango]

  • Fix i18n domain, add styles, refacture views, exclude consents container from nav [MrTango]

1.0b1 (2019-05-16)

  • Initial release. [MrTango]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.consent-1.0b3.tar.gz (23.8 kB view details)

Uploaded Source

File details

Details for the file collective.consent-1.0b3.tar.gz.

File metadata

  • Download URL: collective.consent-1.0b3.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.6

File hashes

Hashes for collective.consent-1.0b3.tar.gz
Algorithm Hash digest
SHA256 4412fb483206532dbb8278c54ae49b5dfd2034cf2647d6bae9f181c79086d699
MD5 0bcb885fd1018a37b622c1f3218f3f1f
BLAKE2b-256 f7eddd80f0f2b198471a05aa9a22bd27da01291c332cf1f4f86015fd6e6d4acb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page