Story #7232
Updated by dkliban@redhat.com over 4 years ago
## Background
Users need to:
* List all groups
* View a single group
* Modify a group
* Delete a group
## URL
* `GET /pulp/api/v3/groups/` - the list view
* `GET /pulp/api/v3/groups/:uuid/` - the detail view
* `PUT/PATCH /pulp/api/v3/groups/:uuid/` - the modify view
* `DELETE /pulp/api/v3/groups/:uuid/` - the deletion view
* `GET /pulp/api/v3/groups/:uuid/permissions/` - list all permissions view
* `PUT/PATCH /pulp/api/v3/groups/:uuid/permissions/` - modify permissions view
* `GET /pulp/api/v3/groups/:uuid/users/` - list all users in the group view
## The Model
The model is defined by Django: https://github.com/django/django/blob/7af8f4127397279d19ef7c7899e93018274e2f9b/django/contrib/auth/models.py#L92-L126
## Serializer fields
* name - https://github.com/django/django/blob/7af8f4127397279d19ef7c7899e93018274e2f9b/django/contrib/auth/models.py#L109
* permissions - an href to retrieve a list of dictionary items with the keys `object` and `permission`.
* users - a list-style URL Field to the users who are members