Skip to main content

rbac_permissions_users_list

GET 

/rbac/permissions/users/

Get a users's assigned object permissions

Request

Query Parameters

    ordering string

    Which field to use when ordering the results.

    page integer

    A page number within the paginated result set.

    page_size integer

    Number of results to return per page.

    search string

    A search term.

    user_id integer

Responses

Schema

    pagination

    object

    required

    next numberrequired
    previous numberrequired
    count numberrequired
    current numberrequired
    total_pages numberrequired
    start_index numberrequired
    end_index numberrequired

    results

    object[]

    required

  • Array [

  • id integerrequired
    codename stringrequired
    model Python model class name (string)required
    app_label stringrequired
    object_pk stringrequired
    name stringrequired
    app_label_verbose stringrequired

    Get app label from permission's model

    model_verbose stringrequired

    Get model label from permission's model

    object_description stringnullablerequired

    Get model description from attached model. This operation takes at least one additional query, and the description is only shown if the user/role has the view_ permission on the object

  • ]

Loading...