Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Add an app to record consent #2

Open
3 tasks
jeremi opened this issue Jun 4, 2022 · 3 comments
Open
3 tasks

Add an app to record consent #2

jeremi opened this issue Jun 4, 2022 · 3 comments
Assignees
Milestone

Comments

@jeremi
Copy link
Member

jeremi commented Jun 4, 2022

  • 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 jeremi added this to the 0.2 milestone Jun 4, 2022
@jeremi jeremi modified the milestones: 0.2, 0.3, 0.4 Jul 2, 2022
@emjay0921 emjay0921 self-assigned this Jul 11, 2022
@jeremi
Copy link
Member Author

jeremi commented Jul 18, 2022

  • 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 the consent object, such as the res.partner.
  • Add a Model ConsentConfig that just has a name for now. It will allow later to define some parameters for the given consent.
  • Consent model should have a fk to the ConsentConfig
  • create Default ConsentConfig.

@jeremi
Copy link
Member Author

jeremi commented Jul 20, 2022

An individual's registrant domain is not just [("is_group", "=", False)] it is [("is_registrant", "=", True), ("is_group", "=", True)]

@jeremi
Copy link
Member Author

jeremi commented Jul 20, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants