-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(docs): Formal Schemas for Signed Docs #208
base: main
Are you sure you want to change the base?
Conversation
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
…alyst-libs into wip/document-schemas
…ake change tracking easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question regarding the signer flow for actions and where we define any restrictions.
In proposal_submission_action.cue, I see referenced: true
in the signers section. Is this what prevents unauthorised users from submitting other users proposals? This field is optional, so may not appear in the proposal doc. We will of course validate the ownership and signer in the backend but should we specifically state here that the signer of an action must be either the owner or collaborator of the referenced document.
If a proposal has multiple collaborators, and we enforce that a submission action must have the same signer as the referenced proposal, wouldn't this prevent collaborators from submitting the proposal if they weren't the original signer?
If validation is done on roles is it possible for someone to create an action on a proposal document that is not theirs, it will be ignored by the back end is there a way to prevent the creation of such a document?
Trying to understand the restrictions and rules and where they will be applied, not a blocking comment to merge code, but would like to explore further.
happy with flow following discussion on flow and signing approach for various doc types and rules. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… more align with intent vs business logic behaviour.
…ed document defined
Description
Thanks for contributing to the project!
Please fill out this template to help us review your changes.
Related Issue(s)
List the issue numbers related to this pull request.
Description of Changes
Provide a clear and concise description of what the pull request changes.
Breaking Changes
Describe any breaking changes and the impact.
Screenshots
If applicable, add screenshots to help explain your changes.
Related Pull Requests
If applicable, list any related pull requests.
Please confirm the following checks