Closed sept-en closed 1 year ago
That's actually intended behavior :) See the last two bullet points in this comment.
Seems like OpenZeppelin behaves in the same way since they only consider members
in hasRole
:
As mentioned, this is the intended behavior, not a bug.
Currently, the admin of the specific role is actually not a member of this role. Therefore, the admin is not able to access the specific methods available for the given role.