-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
First system user created upon logging in via LDAP is not marked as admin #1206
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
Comments
I don't think it's a regression, I just tried it myself. Also, can you review go-gitea/docs#99 and #1207 😄 |
How does first user login via LDAP? |
So delete the last user is a deny operation we should send a PR to do that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Version 1.1.0.
Start with an empty database, configure usage of LDAP.
Login via LDAP results in automatic creation of local user record corresponding to the LDAP record, but even if that's the very first local user created, such user is not marked as administrator, which results in a system with no administrator users.
I'm not sure if this is a regression or not, didn't try with 1.0.x
The text was updated successfully, but these errors were encountered: