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

[Backport 2.x] Add User.isAdminDn to User class #562

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 107be59 from #547.

* Add User.isSuperUser to User class

Signed-off-by: Craig Perkins <[email protected]>

* Add null check

Signed-off-by: Craig Perkins <[email protected]>

* Add another test

Signed-off-by: Craig Perkins <[email protected]>

* Make method non-static and require a user to exist to call method

Signed-off-by: Craig Perkins <[email protected]>

* Change to isAdminDn

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 107be59)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@lezzago lezzago merged commit d44f480 into 2.x Nov 14, 2023
12 of 13 checks passed
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Apr 12, 2024
…-project#562)

* Add User.isSuperUser to User class



* Add null check



* Add another test



* Make method non-static and require a user to exist to call method



* Change to isAdminDn



---------



(cherry picked from commit 107be59)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: AWSHurneyt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants