Skip to main content
Version: 0.7.0-incubating

Get Role

GET 

/metalakes/:metalake/roles/:role

Returns the specified role information in the specified metalake

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    role stringrequired

    The name of the role

Responses

Returns the role object

Schema

    code int32

    Possible values: [0]

    Status code of the response

    role

    object

    name stringrequired

    The name of the role

    properties

    object

    nullable

    A map of properties for the role

    property name* string

    securableObjects

    object[]

    A list of securable objects

  • Array [

  • fullName stringrequired

    The full name of the securable object

    type stringrequired

    Possible values: [CATALOG, SCHEMA, TABLE, FILESET, TOPIC, METALAKE]

    The type of the securable object

    privileges

    object[]

    A list of privileges

  • Array [

  • name stringrequired

    Possible values: [CREATE_CATALOG, USE_CATALOG, CREATE_SCHEMA, USE_SCHEMA, CREATE_TABLE, MODIFY_TABLE, SELECT_TABLE, CREATE_FILESET, WRITE_FILESET, READ_FILESET, CREATE_TOPIC, PRODUCE_TOPIC, CONSUME_TOPIC, MANAGE_USERS, MANAGE_GROUPS, CREATE_ROLE, MANAGE_GRANTS]

    The name of the privilege

    condition stringrequired

    Possible values: [ALLOW, DENY]

    The condition of the privilege, ALLOW or DENY

  • ]

  • ]

Loading...