Repository navigation
Conversation
🦋 Changeset detectedLatest commit: fa4f385 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. WalkthroughFor manager-targeted admin-restricted calls whose required role is not Change: Bug fix · Severity of issue fixed: Medium Merge Risk:
|
view gas comparisonChanges to gas costs
|
Fixes #6877.
The guardian check in
_canCanceluses the role assigned to the targetfunction. For scheduled
grantRoleandrevokeRoleoperations, however,authorization is derived from the administered role's admin role.
This change also allows the guardian of that derived admin role to cancel
the scheduled operation, while preserving the existing role-admin and
global-admin paths.
Tests cover:
grantRolerevokeRoleValidation:
AccessManager.test.js: 482 passing