HomeClusterLabs Projects

Refactor: libcrmcommon: Remove redundant ACL checks

Description

Refactor: libcrmcommon: Remove redundant ACL checks

xml_purge_attributes() already checks for a deny ACL by calling
xml_acl_mode_test(). There's no need for the explicit check in
xml_acl_filtered_copy().

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Aug 2 2020, 11:17 PM
Parents
rPd7c70e1d9313: Doc: libcrmcommon: Clarify ACL denial source
Branches
Unknown
Tags
Unknown

Event Timeline