Separate config option to enable restapi: permissions#2605
Merged
RyanL1997 merged 1 commit intoopensearch-project:mainfrom Apr 6, 2023
Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2605 +/- ##
============================================
- Coverage 61.25% 61.25% -0.01%
- Complexity 3331 3332 +1
============================================
Files 260 260
Lines 18509 18515 +6
Branches 3269 3271 +2
============================================
+ Hits 11338 11341 +3
- Misses 5576 5580 +4
+ Partials 1595 1594 -1
|
peternied
reviewed
Mar 30, 2023
Member
peternied
left a comment
There was a problem hiding this comment.
Thanks @willyborankin! Couple of minor comments inline
src/main/java/org/opensearch/security/dlic/rest/api/RestApiAdminPrivilegesEvaluator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/security/dlic/rest/api/SecuritySSLCertsAction.java
Show resolved
Hide resolved
src/main/java/org/opensearch/security/dlic/rest/api/SecuritySSLCertsAction.java
Outdated
Show resolved
Hide resolved
9d33282 to
3dfd122
Compare
Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io>
3dfd122 to
29789ef
Compare
peternied
approved these changes
Apr 4, 2023
RyanL1997
reviewed
Apr 6, 2023
| ); | ||
| if (logger.isDebugEnabled()) { | ||
| logger.debug( | ||
| "User {} with permission {} {} access to endpoint {}", |
RyanL1997
approved these changes
Apr 6, 2023
stephen-crawford
pushed a commit
to stephen-crawford/security
that referenced
this pull request
Apr 11, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Apr 11, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Apr 11, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Apr 20, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> Signed-off-by: Maciej Mierzwa <dev.maciej.mierzwa@gmail.com>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Apr 27, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> Signed-off-by: Maciej Mierzwa <dev.maciej.mierzwa@gmail.com>
3 tasks
Contributor
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-2605-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6446268bdf4fd9f39d0e669aafa227b582dbf4e6
# Push it to GitHub
git push --set-upstream origin backport/backport-2605-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.xThen, create a pull request where the |
Contributor
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.8 2.8
# Navigate to the new working tree
cd .worktrees/backport-2.8
# Create a new branch
git switch --create backport/backport-2605-to-2.8
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6446268bdf4fd9f39d0e669aafa227b582dbf4e6
# Push it to GitHub
git push --set-upstream origin backport/backport-2605-to-2.8
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.8Then, create a pull request where the |
DarshitChanpura
pushed a commit
to DarshitChanpura/security
that referenced
this pull request
May 30, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit 6446268)
3 tasks
DarshitChanpura
pushed a commit
to DarshitChanpura/security
that referenced
this pull request
May 30, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit 6446268)
3 tasks
DarshitChanpura
added a commit
that referenced
this pull request
May 30, 2023
Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit 6446268) Co-authored-by: Andrey Pleskach <ples@aiven.io>
RyanL1997
pushed a commit
that referenced
this pull request
May 31, 2023
Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit 6446268) Co-authored-by: Andrey Pleskach <ples@aiven.io>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Jun 13, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> Signed-off-by: Maciej Mierzwa <dev.maciej.mierzwa@gmail.com>
MaciejMierzwa
pushed a commit
to MaciejMierzwa/security
that referenced
this pull request
Jun 13, 2023
…ject#2605) Added config settings plugins.security.restapi.admin.enabled which enables/disables :resapi permissions. Default is false Signed-off-by: Andrey Pleskach <ples@aiven.io> Signed-off-by: Maciej Mierzwa <dev.maciej.mierzwa@gmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Added config settings
plugins.security.restapi.admin.enabledwhich enables/disables:resapipermissions.Default is
falseIssues Resolved
restapi:permissions #2571Is this a backport? If so, please add backport PR # and/or commits #
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.