10 #ifndef PCMK__CRM_COMMON_ACL__H 11 #define PCMK__CRM_COMMON_ACL__H 13 #include <libxml/tree.h> 38 #endif // PCMK__CRM_COMMON_ACL__H bool xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xmlNode **result)
Copy ACL-allowed portions of specified XML.
bool xml_acl_enabled(const xmlNode *xml)
Check whether or not an XML node is ACL-enabled.
pcmk__action_result_t result
void xml_acl_disable(xmlNode *xml)
bool xml_acl_denied(const xmlNode *xml)
Check whether or not an XML node is ACL-denied.
bool pcmk_acl_required(const char *user)
Check whether ACLs are required for a given user.