Skip to main content

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

    catalogId stringrequired

    Identifier of the catalog.

    modelId stringrequired

    Identifier of the model within the catalog.

Header Parameters

    Authorization string

Responses​

Permission sets defined on the model.

Schema

  • Array [

  • id uuidrequired

    Identifier of the permission set.

    name stringrequired

    Possible values: non-empty

    Display name of the permission set. Not required to be unique within the model.

    scopes string[]required

    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.

    users string[]required

    Usernames granted the listed scopes.

    groups string[]required

    Group names granted the listed scopes.

  • ]

Loading...