Bug 2117601
Summary: | [WebUI] Add basic support for acl | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Ivan Devat <idevat> |
Component: | pcs | Assignee: | Ivan Devat <idevat> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.1 | CC: | cluster-maint, idevat, mlisik, mmazoure, mpospisi, omular, svalasti, tojeline |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.11.4-1.el9 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 07:18:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ivan Devat
2022-08-11 12:36:22 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. Cannot create ACL role. No request is sent from pcs web ui after completing the create role wizard. DevTestResults: ACL roles can be created with the create role wizard now.
[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
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 |