Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions contracts/access/manager/IAccessManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ interface IAccessManager {
* Requirements:
*
* - the caller must be a global admin
* - `roleId` must not be the `ADMIN_ROLE` or `PUBLIC_ROLE`
*
* Emits a {RoleLabel} event.
*/
Expand Down Expand Up @@ -254,6 +255,10 @@ interface IAccessManager {
* Requirements:
*
* - the caller must be a global admin
* - `roleId` must not be the `ADMIN_ROLE` or `PUBLIC_ROLE`
*
* NOTE: Setting `admin` to the `PUBLIC_ROLE` is allowed, but the target `roleId` itself
* must not be a locked role (`ADMIN_ROLE` or `PUBLIC_ROLE`).
*
* Emits a {RoleAdminChanged} event
*/
Expand All @@ -265,6 +270,10 @@ interface IAccessManager {
* Requirements:
*
* - the caller must be a global admin
* - `roleId` must not be the `ADMIN_ROLE` or `PUBLIC_ROLE`
*
* NOTE: Setting `guardian` to the `PUBLIC_ROLE` is allowed, but the target `roleId` itself
* must not be a locked role (`ADMIN_ROLE` or `PUBLIC_ROLE`).
*
* Emits a {RoleGuardianChanged} event
*/
Expand All @@ -276,6 +285,7 @@ interface IAccessManager {
* Requirements:
*
* - the caller must be a global admin
* - `roleId` must not be the `PUBLIC_ROLE`
*
* Emits a {RoleGrantDelayChanged} event.
*/
Expand Down
Loading