Bug 2087512 - [RFE] Add support for ACL colorization in PCS
Summary: [RFE] Add support for ACL colorization in PCS
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-17 21:14 UTC by gchin
Modified: 2023-08-10 15:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-122395 0 None None None 2022-05-17 21:16:18 UTC

Description gchin 2022-05-17 21:14:11 UTC
Description of problem:

We have added a new feature to Pacemaker 2.1, and we would like it to be supported by pcs.

The feature is a new cibadmin command-line flag, the show-access flag, which displays an annotated version of the CIB with permissions information with respect to a command-line-provided user. The information can be displayed in the form of colors, text, or namespaces. In the case of colors, the parts of the CIB that the user has access to are colored as follows: green for writable, blue for readable, red for denied.

In Pacemaker, an example usage is `cibadmin --show-access=color --query --user tony`. A possible equivalent syntax in pcs might `pcs cluster cib --show-access=color --user tony`.

Comment 1 Tomas Jelinek 2022-05-24 08:20:55 UTC
This may be available as a subcommand of 'pcs acl', or an option of 'pcs cluster cib', or both.


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