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

[admin] scaffold initial set of admin users #6820

Closed
Tracked by #6358
mikeldking opened this issue Mar 18, 2025 · 0 comments · Fixed by #6851
Closed
Tracked by #6358

[admin] scaffold initial set of admin users #6820

mikeldking opened this issue Mar 18, 2025 · 0 comments · Fixed by #6851
Assignees
Labels
c/rbac role based access control

Comments

@mikeldking
Copy link
Contributor

mikeldking commented Mar 18, 2025

When deploying a phoenix (particularly managed one), I want to be able to specify one or many admin users via a manifest (env var config) that will be seeded in the DB such that they can login.

Ideal flow:

Phoenix is provisioned with say [email protected]
Check if [email protected] exists at boot, create a sufficiently complicated salted password with force_reset set to true
If not, create them
Best effort send them an invite email with a reset password link

@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Mar 18, 2025
@dosubot dosubot bot added the c/rbac role based access control label Mar 18, 2025
@RogerHYang RogerHYang moved this from 📘 Todo to 🔍. Needs Review in phoenix Mar 20, 2025
@github-project-automation github-project-automation bot moved this from 🔍. Needs Review to ✅ Done in phoenix Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/rbac role based access control
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants