[ 
https://issues.apache.org/jira/browse/JSPWIKI-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833011#comment-15833011
 ] 

E.Poth commented on JSPWIKI-1047:
---------------------------------

I think the issue is in the DefaultAclManager.getPermissions() method. My 
workaround is the attached patch. It's working as expected but I don't know if 
this make sense. I'm not a java developer at all.
{code}
--- jspwiki-war/src/main/java/org/apache/wiki/auth/acl/DefaultAclManager.java   
(date 1484904785000)
+++ jspwiki-war/src/main/java/org/apache/wiki/auth/acl/DefaultAclManager.java   
(revision )
@@ -183,7 +183,7 @@
 
                 m_engine.getHTML(ctx, page);
 
-                page = m_engine.getPage(page.getName(), page.getVersion());
+                //page = m_engine.getPage(page.getName(), page.getVersion());
                 acl = page.getAcl();
 
                 if (acl == null) {
{code}

> Access Control Lists do not work if page cache is deactivated
> -------------------------------------------------------------
>
>                 Key: JSPWIKI-1047
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1047
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.10.3
>            Reporter: E.Poth
>            Priority: Minor
>
> Access control lists (ACL) do not work if page cache is deactivated.
> {code:title=jspwiki-custom.properties}
> jspwiki.usePageCache = false
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to