User API enhancements
Open
Nobody has claimed this yet.
Feature
GalaxyNG
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
For the galaxy_ng API to use the pulp/api/v3/users API, we need to make the following improvements to it:
- Return the social auth backend for each user: https://github.com/ansible/galaxy_ng/blob/fc477d07bc6a41e546358e9df19b3b58e0bc994c/galaxy_ng/app/api/ui/serializers/user.py#L45
- Expose
is_superuserand allow other super users to create new super users via the API. - Verify that password validation is using the configured django password validators
- Update/add any filters that the galaxy ng UI needs.
Context
Required for: https://issues.redhat.com/browse/AAH-758
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading galaxy_ng/app/api/ui/serializers/user.py at the linked serializer and comparing the pulp/api/v3/users API requirements. Work through each checklist item, including the social auth backend, superuser fields and creation, configured password validators, and UI-needed filters. Done means all four API enhancements are implemented and verified against the stated galaxy_ng use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- api, authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100