pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Functions
acl.h File Reference

Low-level API for XML Access Control Lists (ACLs) More...

#include <libxml/tree.h>
Include dependency graph for acl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool xml_acl_enabled (xmlNode *xml)
 
void xml_acl_disable (xmlNode *xml)
 
bool xml_acl_denied (xmlNode *xml)
 
bool xml_acl_filtered_copy (const char *user, xmlNode *acl_source, xmlNode *xml, xmlNode **result)
 
bool pcmk_acl_required (const char *user)
 Check whether ACLs are required for a given user. More...
 

Detailed Description

Low-level API for XML Access Control Lists (ACLs)

Definition in file acl.h.

Function Documentation

◆ pcmk_acl_required()

bool pcmk_acl_required ( const char *  user)

Check whether ACLs are required for a given user.

Parameters
[in]Username to check
Returns
true if the user requires ACLs, false otherwise

Definition at line 689 of file acl.c.

◆ xml_acl_denied()

bool xml_acl_denied ( xmlNode *  xml)

Definition at line 580 of file acl.c.

◆ xml_acl_disable()

void xml_acl_disable ( xmlNode *  xml)

Definition at line 591 of file acl.c.

◆ xml_acl_enabled()

bool xml_acl_enabled ( xmlNode *  xml)

Definition at line 604 of file acl.c.

◆ xml_acl_filtered_copy()

bool xml_acl_filtered_copy ( const char *  user,
xmlNode *  acl_source,
xmlNode *  xml,
xmlNode **  result 
)

Definition at line 419 of file acl.c.