Skip to main content

rbac_permissions_roles_update

PUT 

/rbac/permissions/roles/:id/

Get a role's assigned object permissions

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this group object permission.

Body

required

    object_pk stringrequired

    Possible values: non-empty

Responses

Schema

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