openwisp / openwisp/openwisp-controller
API /user/organization missing "Configuration Management Setttings"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 773
- Forks
- 315
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 14
Description
Using this API endpoint in any of its variants does not allow setting or getting of the "Shared secret."
I don't know enough about the internals to say much about this problem.
Expected: to be able to set the shared secret when using the endpoint for ORG creation, set the shared secret when using the PUT or PATCH, and retrieve the shared secret when using GET on the /user/organization endpoint.
-OR- provide another endpoint as necessary to allow the setting and getting of the ORG shared secret depending on internals and what is needed to affect this outcome.
Current - no access to ORG shared secret from any API endpoint.
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 tracing the /user/organization endpoint and its create, PUT, PATCH, and GET variants to see how organization configuration fields are exposed. Define how the shared secret should be set and retrieved, then verify that the chosen endpoint behavior covers all listed operations and add tests for those cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- api, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100