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 | |
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" : "...", "clusters" : [ { "clusterName" : "...", "displayName" : "..." }, { "clusterName" : "...", "displayName" : "..." } ], "users" : [ { "name" : "..." }, { "name" : "..." } ], "externalUserMappings" : [ { "uuid" : "...", "name" : "...", "type" : "SAML_SCRIPT" }, { "uuid" : "...", "name" : "...", "type" : "LDAP" } ], "baseRole" : { "displayName" : "...", "uuid" : "..." }, "uuid" : "...", "isCustom" : true }