This is the model for user role scope in the API since v18. This is used to support granular permissions.
name | data type | description |
---|---|---|
displayName | string | |
name | string | |
clusters | array of ApiClusterRef | |
users | array of ApiUser2Ref | |
externalUserMappings | array of ApiExternalUserMappingRef | |
baseRole | ApiAuthRoleRef | A role this user possesses.
In Cloudera Enterprise Datahub Edition, possible values are:
|
uuid | string | Readonly. The UUID of the authRole.
|
isCustom | boolean |
Example
{ "displayName" : "...", "name" : "...", "clusters" : [ { "clusterName" : "...", "displayName" : "..." }, { "clusterName" : "...", "displayName" : "..." } ], "users" : [ { "name" : "..." }, { "name" : "..." } ], "externalUserMappings" : [ { "uuid" : "...", "name" : "...", "type" : "EXTERNAL_PROGRAM" }, { "uuid" : "...", "name" : "...", "type" : "EXTERNAL_PROGRAM" } ], "baseRole" : { "displayName" : "...", "name" : "...", "uuid" : "..." }, "uuid" : "...", "isCustom" : true }