@@ -320,7 +320,7 @@ cib_perform_op(cib_t *cib, const char *op, uint32_t call_options,
320320 pcmk__xml_commit_changes (scratch -> doc );
321321 pcmk__xml_doc_set_flags (scratch -> doc , pcmk__xf_tracking );
322322 if (enable_acl ) {
323- pcmk__enable_acl ( * current_cib , scratch , user );
323+ pcmk__enable_acls (( * current_cib ) -> doc , scratch -> doc , user );
324324 }
325325
326326 pcmk__trace ("Processing %s for section '%s', user '%s'" , op ,
@@ -343,7 +343,7 @@ cib_perform_op(cib_t *cib, const char *op, uint32_t call_options,
343343
344344 pcmk__xml_doc_set_flags (scratch -> doc , pcmk__xf_tracking );
345345 if (enable_acl ) {
346- pcmk__enable_acl ( * current_cib , scratch , user );
346+ pcmk__enable_acls (( * current_cib ) -> doc , scratch -> doc , user );
347347 }
348348
349349 pcmk__trace ("Processing %s for section '%s', user '%s'" , op ,
@@ -361,7 +361,7 @@ cib_perform_op(cib_t *cib, const char *op, uint32_t call_options,
361361 pcmk__trace ("Inferring changes after %s op" , op );
362362 pcmk__xml_commit_changes (scratch -> doc );
363363 if (enable_acl ) {
364- pcmk__enable_acl ( * current_cib , scratch , user );
364+ pcmk__enable_acls (( * current_cib ) -> doc , scratch -> doc , user );
365365 }
366366 pcmk__xml_mark_changes (* current_cib , scratch );
367367 }
0 commit comments