-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Drop Admin attribute based on LDAP when login (continue #1743) #8849
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
Merged
zeripath
merged 39 commits into
go-gitea:master
from
6543-forks:feature_UpdateUserInfoOnLDAP
Nov 14, 2019
Merged
Changes from 34 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
9ed9f6e
Update User information in Gitea based on LDAP when login
DblK f15fcbf
Update Admin Flag only if exist in settings
DblK 879b5f7
Fix affectation
remy-wanteeed d0f465e
Update models/login_source.go
DblK 18bc2a2
Merge branch 'feature_UpdateUserInfoOnLDAP' of https://github.com/Dbl…
remy-wanteeed db57637
Better ident
remy-wanteeed e9d9244
Apply suggestions from code review
DblK 89f0006
Make fmt
remy-wanteeed f30e4a1
add err handling
6543 f434972
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 ef1054f
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 d6a30be
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 1657a62
if user exist but login is Prohibit return return nil, and Prohibit err
6543 7ab74eb
keep login speed
6543 6c703ff
User sync is implemented at #1478 - so only make sure that admin acce…
6543 a589d75
handle error and still use async task
6543 5c3b8e9
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 d39606e
no async
6543 406a7bf
only update admin if Sync is enabled
6543 d5556fd
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 fb2f9a4
update two comments
6543 66d7857
add lafriks suggestions
6543 cdb94ca
if adminFilter is set - use it
6543 11dc5d3
Update models/login_source.go
6543 8af9ed7
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 c73ce44
make it work again
6543 bd1d5cc
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 8492f8c
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 b76135d
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 b018774
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
lunny ca79841
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
zeripath 0112c77
set is_admin value to user
6543 eef26b2
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 9d255ed
look nicer
6543 6753b3d
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
techknowlogick 2ea1435
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 321b5aa
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
6543 da6f213
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
techknowlogick 7495aa5
Merge branch 'master' into feature_UpdateUserInfoOnLDAP
techknowlogick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.