Skip to main content

List every permission set in a catalog, grouped by model.

GET 

/v1/catalogs/:catalogId/permission-sets

Returns one entry per model that has permission sets; models with none are omitted. 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.

Header Parameters

    Authorization string

Responses​

Permission sets in the catalog, grouped by model.

Schema

  • Array [

  • modelId uuidrequired

    Identifier of the model.

    permissionSets

    object[]

    required

    Permission sets defined on the model.

  • 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...