Add an app to record consent
jeremi opened this issue · 3 comments
jeremi commented
- Create a Consent Model:
- name
- signatory (Individual)
- expiry
- Create a Consent Mixin to make it easy to add to any object
- Create a view to list models that are in violation
jeremi commented
signatory_id
domain should make sure it is an individual.- The mixin was not for the
consent
object but for the objects that would link to theconsent
object, such as theres.partner
. - Add a Model
ConsentConfig
that just has aname
for now. It will allow later to define some parameters for the given consent. Consent
model should have a fk to theConsentConfig
- create
Default
ConsentConfig
.
jeremi commented
An individual's registrant domain is not just [("is_group", "=", False)]
it is [("is_registrant", "=", True), ("is_group", "=", True)]
jeremi commented
- Rename "create consent" to
record consent
in the code and UIs. - Allow the consent to be recorded for a group, and the signing person can be a member of the group
- Make the name of the consent auto-generated from the consent config and signatory.
Keep in mind:
The consent is about some data
(target) that someone
(actor) gives consent to be used under some conditions
(parameters)