-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Can't delete other owners #2186
Comments
Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly. |
Curious how you managed to have multiple owners, there should only be one |
@ajnart I can tell you how this happened. Then i found out that my first user had the same email specified as my user that was created by oicd. So i needed an extra user to be able to login and change the email of the first user. After doing so i was able to login in with my main authelia user and had owner rights. But now all three users have owner rights |
Oh wow that's very interesting, thanks for the clarification. I think @manuel-rw or @SeDemal would be more capable to help you than me. (I don't understand oidc stuff) |
You cannot delete other owners, that's the point of the role, only admin should be given to anyone else. |
@SeDemal but is it normal that it happens that i don't have the owner role anymore if both users (db user and authelia user) have the same email? |
Making multiple users on the same email will cause issues by itself and it is not recommended to have multiple Auth providers |
@SeDemal would it be possible to use the drizzle db editor from within the container ? |
I need to look if it's possible from the CLI actually, can't right now though. |
I fixed it by downloading the db.sqlite file and using DBeaver to delete/demote the users. |
Multiple users with the same email and different providers will be possible in v1.0, see #1993 |
Environment
Docker
Version
0.15.7
Describe the problem
I have 3 users with the owner and admin role but i can't delete them. The user i am logged in with also has both owner and admin role. When trying to delete one of the other two users i get 403 Forbidden and this message:
Also i can't demote the user:
Logs
ERROR tRPC OpenAPI error on user.details: TRPCError: UNAUTHORIZED
Context
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: