Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add make_admin script #4853

Merged
merged 4 commits into from
Jan 7, 2025
Merged

feat: add make_admin script #4853

merged 4 commits into from
Jan 7, 2025

Conversation

Kuchenpirat
Copy link
Collaborator

What type of PR is this?

  • feature

What this PR does / why we need it:

In the discord we had multiple people loose access to the last admin account. This adds a small script to promote a user to admin. This prevents users from needing to interact directly with their db which has greater potential of breaking stuff.

Which issue(s) this PR fixes:

None, but the problem came up in Discord quite frequently.

Testing

Manual

@michael-genson michael-genson enabled auto-merge (squash) January 7, 2025 17:27
Copy link
Collaborator

@michael-genson michael-genson left a comment

Choose a reason for hiding this comment

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

Should probably add this to the Discord bot too

@michael-genson michael-genson merged commit 22f306a into mealie-next Jan 7, 2025
13 checks passed
@michael-genson michael-genson deleted the make-admin-script branch January 7, 2025 17:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants