Permalink
Browse files

Fix: cib: Turn ALCs off so we can update version counters once the op…

… is complete
  • Loading branch information...
beekhof committed Mar 3, 2014
1 parent 6f375fc commit db129d7af6739768307cc12697179f669c6860e0
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/cib/cib_utils.c
View
@@ -384,6 +384,7 @@ cib_perform_op(const char *op, int call_options, cib_op_t * fn, gboolean is_quer
xml_track_changes(scratch, user);
rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output);
+ xml_acl_disable(scratch); /* Allow the system to make any additional changes */
} else {
scratch = copy_xml(current_cib);
@@ -399,6 +400,7 @@ cib_perform_op(const char *op, int call_options, cib_op_t * fn, gboolean is_quer
xml_calculate_changes(current_cib, scratch, user);
}
CRM_CHECK(current_cib != scratch, return -EINVAL);
+ xml_acl_disable(scratch); /* Allow the system to make any additional changes */
}
if (rc == pcmk_ok && scratch == NULL) {

0 comments on commit db129d7

Please sign in to comment.