API /user/organization missing "Configuration Management Setttings"
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.
Hi @Nexusrex18 š,
Thank you for opening PR #1208 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment @openwisp-companion assign on this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.
Hi @Nexusrex18 š,
Thank you for opening PR #1208 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment @openwisp-companion assign on this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.
Iād like to work on this. I read #1208 ā it added a full /controller/organization/ endpoint, which means Organization is exposed in two places.
I think the endpoint should stay under controller since OrganizationConfigSettings lives there. Instead of duplicating the whole Organization endpoint, a sub-endpoint just for the config settings feels cleaner. What do you think?
@openwisp-companion assign
Hi @AyushKhatri-Dev š,
I could not find an open PR by you that references this issue (#700). Please open a PR linking to this issue (e.g. Fixes #700) and then comment @openwisp-companion assign again.
This issue has been automatically assigned to @AyushKhatri-Dev who opened PR #1496 to address it. šÆ