Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manual users provisioning #40

Merged
merged 12 commits into from
Oct 14, 2024
Merged

Conversation

mfiedorowicz
Copy link
Member

@mfiedorowicz mfiedorowicz commented Oct 8, 2024

  • disable auto provisioning of diode users via migrations (with auto_provision_users plugin config setting)
  • detect missing diode users and redirect user to plugin setup view with a form composed of pre-defined or generated API keys for diode users, create missing users and api keys on submit

Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
@mfiedorowicz mfiedorowicz self-assigned this Oct 8, 2024
@github-actions github-actions bot added the python label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1734 1715 99% 0% 🟢

New Files

File Coverage Status
netbox_diode_plugin/tests/test_plugin_config.py 100% 🟢
TOTAL 100% 🟢

Modified Files

File Coverage Status
netbox_diode_plugin/init.py 100% 🟢
netbox_diode_plugin/forms.py 100% 🟢
netbox_diode_plugin/plugin_config.py 100% 🟢
netbox_diode_plugin/tests/test_forms.py 100% 🟢
netbox_diode_plugin/tests/test_views.py 100% 🟢
netbox_diode_plugin/urls.py 100% 🟢
netbox_diode_plugin/views.py 98% 🟢
TOTAL 100% 🟢

updated for commit: 085c641 by action🐍

Copy link
Contributor

@leoparente leoparente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
Signed-off-by: Michal Fiedorowicz <[email protected]>
@mfiedorowicz mfiedorowicz changed the title feat: manual provisioning users feat: manual users provisioning Oct 14, 2024
@mfiedorowicz mfiedorowicz merged commit 962e2d5 into develop Oct 14, 2024
5 checks passed
@mfiedorowicz mfiedorowicz deleted the manual-users-provisioning branch October 14, 2024 14:27
@orb-ci
Copy link

orb-ci commented Oct 14, 2024

🎉 This PR is included in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants