Skip to content

Enforce Module permissions modifications to be routed through supply keeper #4762

Closed
@colin-axner

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions