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

Add Notifications cluster permissions #1290

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented Jan 6, 2023

Signed-off-by: Mohammad Qureshi 47198598+qreshi@users.noreply.github.com

Description

When Notifications launched in 2.0, the cluster permissions were added to the pre-defined roles in the backend but the cluster permission constants were not updated in the Security Dashboards frontend. This is needed for users who create custom roles with cluster permissions from the UI.

If not backported to older versions, please at least include this in main and 2.x so that this can be included in the upcoming 2.5 release.

Category

Bug fix

Why these changes are required?

Security Dashboards populates the cluster permissions options through a constant variable. All available cluster permissions should be included in this constant list.

Issues Resolved

opensearch-project/notifications#541

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
@qreshi qreshi requested a review from a team January 6, 2023 18:56
@codecov-commenter
Copy link

Codecov Report

Merging #1290 (aab11e3) into main (e1c242f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1290   +/-   ##
=======================================
  Coverage   71.78%   71.78%           
=======================================
  Files          88       88           
  Lines        2027     2027           
  Branches      274      274           
=======================================
  Hits         1455     1455           
  Misses        509      509           
  Partials       63       63           
Impacted Files Coverage Δ
public/apps/configuration/constants.tsx 85.71% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@RyanL1997 RyanL1997 merged commit 180f694 into opensearch-project:main Jan 6, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 6, 2023
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
(cherry picked from commit 180f694)
RyanL1997 pushed a commit that referenced this pull request Jan 6, 2023
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
(cherry picked from commit 180f694)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants