Role Manager
Last updated
Last updated
Cobo Safe
is designed in the approach.
The admins of an organization can create a Role
and assign permissions to the Role
. Team members, often referred to as Delegates
in Cobo Safe
, can only acquire permissions through their delegated roles.
Role Manager
is a module in Cobo Safe
. It is used to manage the Delegate-Role
relationship.
Developer can create their own Role Managers
by implementing the following interfaces:
getRoles()
is used to query the Role
or Roles
assigned to a Delegate
hasRole()
is used to check whether a specific Role
has been assigned to the Delegate