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

Updating "Is Administrator" attribute for LDAP users on each login? #10538

Closed
2 of 7 tasks
mikerenfro opened this issue Feb 28, 2020 · 1 comment
Closed
2 of 7 tasks

Comments

@mikerenfro
Copy link

  • Gitea version (or commit ref): 1.11.1
  • Git version: 1.8.3.1
  • Operating system: RHEL 7.7
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

It looks like the "Is Administrator" attribute for a user account is only set on initial account creation. We're authenticating all of our users from LDAP (specifically Active Directory), and we'd like to set their administrative access from the results of the Admin Filter query on each login. That is, if we remove a user from the group we use in the Admin Filter, they lose administrative access to Gitea on their next login.

@6543
Copy link
Member

6543 commented Feb 28, 2020

this should be working with 1.11.1: #8849

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants