Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.

Story #7232

Updated by bmbouter over 4 years ago

## Background 

 Users need to: 

 * List all groups 
 * View a single group 
 * View Membership info Modify a group 
 * View Permission info 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 

Back