NestedRole
Serializer to add/remove object roles to/from users/groups. This is used in conjunction with pulpcore.app.viewsets.base.RolesMixin
and requires the underlying object to be passed as content_object
in the context.
Properties
Name | Type | Description | Notes |
---|---|---|---|
users | list[str] | [optional] [default to []] | |
groups | list[str] | [optional] [default to []] | |
role | str |