Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create signature roles table #39

Closed
signebedi opened this issue Mar 23, 2024 · 3 comments
Closed

Create signature roles table #39

signebedi opened this issue Mar 23, 2024 · 3 comments

Comments

@signebedi
Copy link
Owner

In the user model, let's represent form approval as a table, which allows admins to represent complex chains for form approval and routing. This can define whether a group has veto power or is just notified at a certain stage; it can also define whether to do group-based routing (eg. when group 1 submits a form, route it to group 2 for approval and notify group 3) or whether to apply it to all users at the outset (eg. anyone who submits a form, route it to group 2 for approval, etc.). Additionally, we can define whether a specific user in relation to the user submitting the form gets a say in its approval. We can define what happens when a form is approved, returned / pushed back, or denied. For example, does a returned form go back to the initial submitter, or the last reviewer? This is also complicated because reviewers and approvers will likely be represented in the form data (eg. the document database) but the rules will be defined, at least under this system, using a relational database table. Bit of a frankenstein approach but I think it will work.

Originally posted by @signebedi in #22 (comment)

@signebedi
Copy link
Owner Author

signebedi commented Mar 24, 2024

[api] add form approval route
The idea here is that approvals can be passed and handled using the rest API. They should not require data changes as these are just updates in the metadata, but should be given a journal entry. This allows us to reconstruct eg. that "User X approved/disapproved/returned form at TIMESTAMP".

@signebedi
Copy link
Owner Author

signebedi commented Mar 24, 2024

[api] add form signature route
The idea here is that signatures on form submissions can be passed and handled using the rest API. They should not require data changes as these are just updates in the metadata, but should be given a journal entry. This allows us to reconstruct eg. that "User X signed form at TIMESTAMP".

@signebedi signebedi changed the title Create approval_chain table Create signing chain table Apr 16, 2024
@signebedi signebedi changed the title Create signing chain table Create signature roles table Apr 18, 2024
@signebedi
Copy link
Owner Author

See a009180

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

No branches or pull requests

1 participant