Allow governance approver to revoke an approval
See original GitHub issueChallenge Description
Governance approvers play an important role in sanity checking that governance proposals are not malicious before they are put for referendum. In the unlikely event that governance approvers later learn of a show-stopping issue, this ticket calls for the ability for the governance approver to revoke their approval, effectively preventing an execution of a proposal.
Submission Requirements
- Add a
Governance#unapprove
function which setsproposal.approved = false
- Add a require during
execute
to check that the proposal is actually approved - Adding unit tests that check that a call to
unapprove
during approval, referendum and execution stage will effectively prevent the execution of the proposal (likely will want to check thatproposal.approved == true
inexecute
- Submit a PR and address PR review comments by core developers
- Have the PR merged
Prerequisites
- Basic Solidity Knowledge
- Minimal Familiarity with Celo Core Contracts
Time Expectation
- 6 hours
Resources
Legacy Section
Expected Behavior
Governance revokeApproval implementation?
Current Behavior
Unclear if we want to allow revoking approvals
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Approve or deny access requests - entitlement management
Navigate to the Approvals tab in My Access. Go to the request you'd like to approve and click details. You can also click...
Read more >20.4 Creating Request Approval Policies - Micro Focus
20.4.4 Configuring Automatic Approval at the Approval Step Level · In Identity Governance, select Policy > Access Request. · On the Approval Policies...
Read more >Three-stage approval process for Azure AD access packages
8) To set the First approver, go to First Approver section and from the drop-down select the relevant option.
Read more >Merge request approval settings - GitLab Docs
Require user password to approve · Enable password authentication for the web interface, as described in the sign-in restrictions documentation. · On the...
Read more >Give edit access to the field "approver" for the - ServiceNow
Like the approvals in the change request table.. It should not happen for all sys_approval table.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nambrot I can work on this issue and I understand requirement. Can I work on this issue?
This issue is stale and will be closed in 30 days without activity