pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
Low-level API for XML Access Control Lists (ACLs) More...
#include <libxml/tree.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | xml_acl_enabled (const xmlNode *xml) |
Check whether or not an XML node is ACL-enabled. More... | |
void | xml_acl_disable (xmlNode *xml) |
bool | xml_acl_denied (const xmlNode *xml) |
Check whether or not an XML node is ACL-denied. More... | |
bool | xml_acl_filtered_copy (const char *user, xmlNode *acl_source, xmlNode *xml, xmlNode **result) |
Copy ACL-allowed portions of specified XML. More... | |
bool | pcmk_acl_required (const char *user) |
Check whether ACLs are required for a given user. More... | |
Low-level API for XML Access Control Lists (ACLs)
Definition in file acl.h.
bool pcmk_acl_required | ( | const char * | user | ) |
bool xml_acl_denied | ( | const xmlNode * | xml | ) |
bool xml_acl_enabled | ( | const xmlNode * | xml | ) |
bool xml_acl_filtered_copy | ( | const char * | user, |
xmlNode * | acl_source, | ||
xmlNode * | xml, | ||
xmlNode ** | result | ||
) |
Copy ACL-allowed portions of specified XML.
[in] | user | Username whose ACLs should be used |
[in] | acl_source | XML containing ACLs |
[in] | xml | XML to be copied |
[out] | result | Copy of XML portions readable via ACLs |
result
rather than xml