Example [VC 21.3 GEN]
The following figure illustrates how users, groups and roles relate.
In the figure above, there are:
-
Six roles:
_run_as
,_administrator
,_search
,_import
,_metadata_w
, andmetadata_r
. -
Two regular groups:
regular_user
andreadonly_user
.The group
readonly_user
depends on the roles_search
and_metadata_r
. The second group,regular_user
depends on the roles_import
and_metadata_w
, and also the groupreadonly_user
.In the last relation,
readonly_user
is called the parent group andregular_user
is the child group. A user which belong toregular_user
actually has all four roles. -
Three users:
app_user
,jdoe
, andmrpink
.The user
app_user
has the role_run_as
,jdoe
has the roles_administrator
,_search
,_import
,_metadata_w
and_metadata_r
andmrpink
has the roles_search
and_metadata_r
.
To visualize the users and groups like above, see User/group visualization.