projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make removal of access rights more robust.
[lgpl/argeo-commons.git]
/
org.argeo.jcr
/
src
/
org
/
argeo
/
jcr
/
JcrUtils.java
diff --git
a/org.argeo.jcr/src/org/argeo/jcr/JcrUtils.java
b/org.argeo.jcr/src/org/argeo/jcr/JcrUtils.java
index 79ae6cf62555afa9be184e8c80e431e654c46433..d66293d9652c4542713f98e4fd2ca841d6eff484 100644
(file)
--- a/
org.argeo.jcr/src/org/argeo/jcr/JcrUtils.java
+++ b/
org.argeo.jcr/src/org/argeo/jcr/JcrUtils.java
@@
-1468,6
+1468,8
@@
public class JcrUtils {
// the new access control list must be applied otherwise this call:
// acl.removeAccessControlEntry(ace); has no effect
acm.setPolicy(path, acl);
+ session.refresh(true);
+ session.save();
}
/*