AccessPolicy
Serializer for AccessPolicy.
Properties
Name | Type | Description | Notes |
---|---|---|---|
permissions_assignment | list[object] | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional] |
creation_hooks | list[object] | List of callables that may associate user roles for new objects. | [optional] |
statements | list[object] | List of policy statements defining the policy. | |
queryset_scoping | object | A callable for performing queryset scoping. See plugin documentation for valid callables. Set to blank to turn off queryset scoping. | [optional] |