Enforce Module permissions modifications to be routed through supply keeper #4762
Closed
Description
opened on Jul 22, 2019
Summary
Add functions to supply keeper such as AddPermission
and RemovePermission
.
Problem Definition
Currently there is little structure around how adding/removing permissions for a module account. A module account has AddPermission
and RemovePermission
functions that aren't exported. The only way we can do contextual validation on the permissions called in AddPermission
is to use the ValidatePermissions
function in supply keeper.
Proposal
Add AddPermission
and RemovePermission
to supply keeper that calls ValidatePermissions
before calling the account's add/remove permission functions
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Metadata
Assignees
Labels
No labels
Activity