projects
/
lgpl
/
argeo-commons.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
60e8274
)
Apply new policy once defined, otherwise the call to clearAccessControList has no...
author
Bruno Sinou <bsinou@argeo.org>
Fri, 27 Mar 2015 14:50:43 +0000
(14:50 +0000)
committer
Bruno Sinou <bsinou@argeo.org>
Fri, 27 Mar 2015 14:50:43 +0000
(14:50 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@8042
4cfe0d0a
-d680-48aa-b62c-
e0a02a3f76cc
org.argeo.server.jcr/src/org/argeo/jcr/JcrUtils.java
patch
|
blob
|
history
diff --git
a/org.argeo.server.jcr/src/org/argeo/jcr/JcrUtils.java
b/org.argeo.server.jcr/src/org/argeo/jcr/JcrUtils.java
index 3b546684a544aba79d81757d169a318294a27ab8..c42f84ece40c01decd7c025f0ae3026c4a8cda0a 100644
(file)
--- a/
org.argeo.server.jcr/src/org/argeo/jcr/JcrUtils.java
+++ b/
org.argeo.server.jcr/src/org/argeo/jcr/JcrUtils.java
@@
-1393,6
+1393,9
@@
public class JcrUtils implements ArgeoJcrConstants {
acl.removeAccessControlEntry(ace);
}
}
+ // the new access control list must be applied otherwise this call:
+ // acl.removeAccessControlEntry(ace); has no effect
+ acm.setPolicy(path, acl);
}
/*