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

fix(frontend): Do not allow user w/ ID 1 to disable 'Admin' permission #965

Merged

Conversation

TheCatLady
Copy link
Collaborator

Description

Since the first user is tied to the Plex media server instance, we currently do not allow deletion of this user. This PR adds protection against attempts to remove the "Admin" permission from this user.

Todos

  • Successful build

@TheCatLady TheCatLady requested a review from sct as a code owner February 18, 2021 16:50
@TheCatLady TheCatLady changed the title bugfix(frontend): Do not allow user w/ ID 1 to disable 'Admin' permission fix(frontend): Do not allow user w/ ID 1 to disable 'Admin' permission Feb 18, 2021
@sct sct merged commit 77b2d9e into develop Feb 19, 2021
@sct sct deleted the bugfix/frontend/do-not-allow-userid-1-to-disable-admin-perm branch February 19, 2021 01:20
@github-actions
Copy link

🎉 This PR is included in version 1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants