Configuring ACL Permissions in the web UI
Use Pacemaker access control lists (ACLs) to provide local groups and users with role-based access to perform cluster configuration tasks.
- 
                        
The Enable ACLs cluster property must be set to true for the cluster you're configuring. See Setting Cluster Properties for information on how to do this.
 - 
                        
The local users and groups being configured with ACL permissions must exist on each node in the cluster.
 - 
                        
The local users must be assigned to the
haclientgroup on each node in the cluster. 
Configuring ACL permissions in the web UI involves working with the following
                pcs entities:
               
- Cluster Information Base
 - 
                     
                     
The Cluster Information Base (CIB) is an XML representation of the cluster configuration and the current state of its resources. To view the XML from the CIB run the following command:
sudo pcs cluster cibConfiguring ACL permissions in HA clusters involves configuring
read,write, anddenyrules for accessing different parts of the CIB XML. You can usexpathvalues, or theidvalues of XML elements, to specify the CIB XML elements to which permissions are to be applied. For more information on the CIB, and the way permissions are applied to its XML, see manual page forpcs(8).Caution:
Don't edit the CIB directly. Instead, use the UI, or thepcsinterface, to configure the cluster. - Roles
 - 
                     
                     
You create roles in the UI to define permissions needed by local groups and users. For example, you might create a role named resource_manager_role with write access to the
/cib/configuration/resourcesXML subtree of the CIB, and assign this role to groups and users that need to manage cluster resources. - Groups
 - 
                     
                     
To assign role permissions to a local group on the cluster nodes, you create a corresponding
pcsgroup in the web UI with the same name as the local group. You assign the role to thepcsgroup created in the UI, and the users in the corresponding local groups receive the ACL permissions defined in the role. - Users
 - 
                     
                     
To assign role permissions to a local user on the cluster nodes, you need to create a corresponding
pcsuser with a matching username in the web UI. You assign the role to thepcsuser created in the UI, and the corresponding local user on each node is assigned the ACL permissions defined in the role. 
Creating Roles
Use the Cockpit HA Cluster Management web UI to create roles with ACL permissions to perform cluster configuration tasks.
Use the web UI to create roles to configure read,
                    write, and deny rules for accessing different
                parts of the CIB XML. You can use xpath values, or the
                    id values of XML elements, to specify the CIB XML elements to
                which permissions are to be applied. 
                     
The following example procedure shows how you might create a role with permission to read the CIB and configure the resources.
Steps
To create a role in the HA Cluster Management web UI application, perform the following steps:
Creating Groups
Use the Cockpit HA Cluster Management web UI to create pcs groups
        that correspond to local groups on the cluster nodes.
                  
What do you need?
The steps in the following procedure assume the following prerequisites have been met:
- 
                           
                           
On each cluster node, a local group has been created with member users that require the same
pcsACL permissions. For example, a group namedgroup_resource_userswhose member users require write access to the resource configuration. - 
                           
                           
The user accounts must also be members of the
haclientgroup on each node. - 
                           
                           
In the UI, you have created a role with the ACL permissions the local users require. See Creating Roles for information on how to do this.
 
Steps
To create a pcs group and assign a role to it, perform the following steps
        in the HA Cluster Management web UI application:
                     
Creating Users
Use the Cockpit HA Cluster Management web UI to create pcs users
        that correspond to local users on the cluster nodes.
                  
What do you need?
The steps in the following procedure assume the following prerequisites have been met:
- 
                           
                           
On each cluster node, there is a user account that requires
pcsACL permissions. The user accounts must be a member of thehaclientgroup on each node. - 
                           
                           
In the UI, you have created a role with the ACL permissions the local user requires. See Creating Roles for information on how to do this.
 
Steps
To create a pcs user and assign a role to it, perform the following
                steps in the HA Cluster Management web UI application: