List the permission sets defined on a model.
GET/v1/catalogs/:catalogId/models/:modelId/permission-sets
A model with no permission sets is not restricted: every user can see and query it. Adding the first set restricts the model to the principals its sets name.
Request
Path Parameters
Identifier of the catalog.
Identifier of the model within the catalog.
Header Parameters
Responses
- 200
- 400
- 401
- 403
- 500
Permission sets defined on the model.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Identifier of the permission set.
Possible values: non-empty
Display name of the permission set. Not required to be unique within the model.
Possible values: [ctas, discovery, query], >= 1
Operations the listed principals may perform on the model. ctas allows aggregate creation, discovery allows the model to be listed and browsed, query allows queries against it.
Usernames granted the listed scopes.
Group names granted the listed scopes.
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"scopes": [
"ctas"
],
"users": [
"string"
],
"groups": [
"string"
]
}
]
Invalid request for example: Invalid parameters, missing parameters.
Unauthorized. This error will occur if calling user does not have access right for the API.
Forbidden. This error will occur if the user lacks the proper roles or permissions to perform this action.
A server error occurred. Check the logs for more details.