Bug 2105262 - [DR] DRPolicy creation page should be restricted to authorized users
Summary: [DR] DRPolicy creation page should be restricted to authorized users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.12.0
Assignee: gowtham
QA Contact: Aman Agrawal
URL:
Whiteboard:
Depends On:
Blocks: 2116824
TreeView+ depends on / blocked
 
Reported: 2022-07-08 11:32 UTC by gowtham
Modified: 2023-08-09 16:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2116824 (view as bug list)
Environment:
Last Closed: 2023-01-31 00:19:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 340 0 None Merged DRPolicy related actions are only restricted to authorized users 2022-08-09 11:51:15 UTC
Red Hat Product Errata RHBA-2023:0551 0 None None None 2023-01-31 00:19:59 UTC

Description gowtham 2022-07-08 11:32:56 UTC
Description of problem:
DRPolicy creation is accessible by all the users, it needs to be restricted only to an authorized user (i.e DR admin)

Version-Release number of selected component (if applicable):
OCP 4.11.0-0.nightly-2022-06-23-044003
ACM 2.5.1
ODF-MCO 4.11.0

How reproducible:
100%

Steps to Reproduce:
1. Follow the steps to configure the DR setup:  https://github.com/red-hat-storage/ocs-training/blob/90f4104c45946d71c2695293cd1c846322a68457/training/modules/ocs4/pages/odf411-metro-ramen.adoc#1-overview
2. Create a dummy OCP user.
3. Login using the dummy user credentials 
4. Go to All Clusters -> Data Services -> Data Policies.
5. DRPolicy creation button is enabled.

Actual results:
DRPolicy creation button is enabled for all the users.

Expected results:
DRPolicy creation button should be enabled only for those who have access to create DRPolicy.

Additional info:

Comment 3 Mudit Agarwal 2022-08-09 05:12:13 UTC
every 4.11.z issue has to be fixed in 4.12.0 also. I know this has been fixed in master already which means 4.12 so lets keep the target release there as well.
We need to create a 4.11 clone when the time comes, I will do that.

Comment 17 errata-xmlrpc 2023-01-31 00:19:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenShift Data Foundation 4.12.0 enhancement and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:0551


Note You need to log in before you can comment on or make changes to this bug.