openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

API /user/organization missing "Configuration Management Setttings"

Open clutch2sft opened this issue 4 years ago • 6 comments

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.

clutch2sft avatar Oct 11 '22 09:10 clutch2sft

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.

openwisp-companion avatar May 08 '26 22:05 openwisp-companion

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.

openwisp-companion avatar May 09 '26 18:05 openwisp-companion

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?

AyushKhatri-Dev avatar Sep 27 '26 03:09 AyushKhatri-Dev

@openwisp-companion assign

AyushKhatri-Dev avatar Sep 28 '26 15:09 AyushKhatri-Dev

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.

openwisp-companion avatar Sep 28 '26 15:09 openwisp-companion

This issue has been automatically assigned to @AyushKhatri-Dev who opened PR #1496 to address it. šŸŽÆ

openwisp-companion avatar Oct 01 '26 19:10 openwisp-companion