RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2117601 - [WebUI] Add basic support for acl
Summary: [WebUI] Add basic support for acl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcs
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.2
Assignee: Ivan Devat
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-11 12:36 UTC by Ivan Devat
Modified: 2023-05-09 07:39 UTC (History)
8 users (show)

Fixed In Version: pcs-0.11.4-1.el9
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:18:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6224 0 None None None 2022-12-01 17:23:19 UTC
Red Hat Issue Tracker RHELPLAN-130941 0 None None None 2022-08-11 12:43:58 UTC
Red Hat Product Errata RHBA-2023:2151 0 None None None 2023-05-09 07:18:55 UTC

Description Ivan Devat 2022-08-11 12:36:22 UTC
There is no support for acl in webui. Add basic support for it.

Comment 2 Miroslav Lisik 2022-10-26 13:32:06 UTC
DevTestResults:

[root@r92-1 ~]# rpm -q pcs
pcs-0.11.3-5.el9.x86_64

There is new ACLs tab on the cluster page where you can enable/disable ACL and manage roles, users and groups.

Comment 3 Miroslav Lisik 2022-10-26 14:23:18 UTC
Cannot create ACL role. No request is sent from pcs web ui after completing the create role wizard.

Comment 5 Michal Pospisil 2022-11-24 12:19:08 UTC
DevTestResults:
ACL roles can be created with the create role wizard now.

Comment 9 svalasti 2023-01-30 11:14:13 UTC
[root@virt-594 ~]# rpm -q pcs
pcs-0.11.4-4.el9.x86_64

Only a basic check of this implemented feature has been performed. Our priority at the moment is to automate the tasks that are possible by using the GUI.
For ACL management, there is a dedicated tab that allows you to manage roles, users, and groups and allows you to enable/disable ACL.
The creation of a role requires the specification of a role name and the specification of permissions of this role (by using id or xpath, available permissions are: read, write and deny).
To create a user, you have to specify the user name, and then you can assign available user roles to the user.
Similarly, to create a user group, you need to specify the name of the group, and then you can assign the available roles to the group.
To enable or disable an ACL, you need to click on the small button at the top left of the page next to the "Create User" button, and then you need to click on the task (enable ACL / disable ACL) you want.
Managing an existing role allows you to assign/unassign a user/group to this role. There is also an option to add permissions to this role.
Managing an existing user allows you to assign/unassign a role for that user, as well as the ability to delete a user.
Managing an existing group allows you to assign/unassign a role for that group, as well as the ability to delete a group.

> Marking as VERIFIED SanityOnly for pcs-0.11.4-4.el9

Comment 11 errata-xmlrpc 2023-05-09 07:18:34 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 (pcs bug fix and enhancement 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:2151


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