10 #ifndef CRM_COMMON_ACL_INTERNAL__H 11 #define CRM_COMMON_ACL_INTERNAL__H 14 #include <libxml/tree.h> 22 const char *peer_user);
25 pcmk__is_privileged(
const char *user)
27 return user && (!strcmp(user,
CRM_DAEMON_USER) || !strcmp(user,
"root"));
char * pcmk__uid2username(uid_t uid)
const char * pcmk__update_acl_user(xmlNode *request, const char *field, const char *peer_user)
void pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user)
bool pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode)