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 issue ldap_group_admin_dn doesn't take effect(master) #5612

Merged
merged 1 commit into from Aug 15, 2018

Conversation

stonezdj
Copy link
Contributor

@stonezdj stonezdj commented Aug 14, 2018

If current user is in the group defined ldap_group_admin_dn, it doesn't have the harbor admin role.
The current solution only fix the /api/users/currentuser, but for /api/users/:id it can display the real information. see issue #5620

Signed-off-by: stonezdj stonezdj@gmail.com

@stonezdj stonezdj changed the title Fix issue ldap_group_admin_dn doesn't take effect Fix issue ldap_group_admin_dn doesn't take effect(master) Aug 14, 2018
@coveralls
Copy link

coveralls commented Aug 14, 2018

Pull Request Test Coverage Report for Build 8191

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 63.841%

Files with Coverage Reduction New Missed Lines %
src/common/utils/utils.go 4 85.5%
Totals Coverage Status
Change from base Build 8186: -0.02%
Covered Lines: 12013
Relevant Lines: 18817

💛 - Coveralls

Copy link
Contributor

@reasonerjt reasonerjt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment in #5613

@stonezdj stonezdj force-pushed the fix_ldap_group_admin_dn branch 2 times, most recently from f9787e4 to dc90548 Compare August 15, 2018 05:52
…'t have the harbor admin role.

The current solution only fix the /api/users/currentuser, but for /api/users/:id it can display the real information. see issue goharbor#5620

Signed-off-by: stonezdj <stonezdj@gmail.com>
Copy link
Contributor

@reasonerjt reasonerjt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@reasonerjt reasonerjt merged commit 2e4295b into goharbor:master Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants