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

Authorizer: Refactor implementation #1116

Merged
merged 8 commits into from
Feb 8, 2022
Merged

Conversation

facuspagnuolo
Copy link
Contributor

@facuspagnuolo facuspagnuolo commented Feb 3, 2022

Fixes #985

This PR introduces a simplification for the authorizer implementation. Mainly what was proposed in #985 to rename "roles" to "permissions". Additionally, I propose a different way of implementing the idea of an admin using the authorizer itself.

@facuspagnuolo facuspagnuolo self-assigned this Feb 3, 2022
@facuspagnuolo facuspagnuolo marked this pull request as ready for review February 3, 2022 20:55
@facuspagnuolo facuspagnuolo changed the title [WIP] Authorizer: Refactor implementation Authorizer: Refactor implementation Feb 3, 2022
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
pkg/vault/contracts/Authorizer.sol Outdated Show resolved Hide resolved
@facuspagnuolo facuspagnuolo merged commit 9790fd7 into master Feb 8, 2022
@facuspagnuolo facuspagnuolo deleted the authorizer/refactor branch February 8, 2022 10:28
dandagow3t pushed a commit to IlluviumGame/balancer-v2-monorepo that referenced this pull request May 10, 2023
* authorizer: refactor and improve tests

* authorizer: refactor implementation

* authorizer: add admin tests

* authorizer: address feedback from @nventuro

* authorizer: fix swap tests

* authorizer: fix tests

* authorizer: fix gauges tests
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

Successfully merging this pull request may close these issues.

Rename AccessControl's roles to actions
2 participants