Re: attachment security policy

2020-12-07 Thread Gary Kephart
Juan Pablo, Thanks for responding. I tried your suggestion but it's still not working. Below is my complete jspwiki.policy. Thanks,   Gary grant principal org.apache.wiki.auth.authorize.Role "All" {     permission org.apache.wiki.auth.permissions.PagePermission "*:*", "view";     permission

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-07 Thread Jim Willeke
I changed to folder.war, as I was making a feeble attempt to hide details about ldapwiki. Not sure what you are looking for here: ll /var/lib/tomcat9/work/Catalina/localhost/ total 24 drwxr-x--- 6 tomcat tomcat 4096 Dec 4 10:43 ./ drwxr-x--- 3 tomcat tomcat 4096 Dec 4 09:49 ../ drwxr-x--- 3 tomc

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-07 Thread Juan Pablo Santos Rodríguez
Hi Jim, you mention initially that the war is deployed as folder.war instead of ldapwiki.war, is that correct? What files are placed inside $TOMCAT_HOME/work? Also, would you mind starting tomcat providing it a "-Dlog4j.rootCategory=DEBUG,ConsoleLog" argument? That should provide more information

Re: attachment security policy

2020-12-07 Thread Juan Pablo Santos Rodríguez
Hi Gary, inside JSPWiki, Attachments are considered a special type of Pages, so the same policy rules & syntax should apply. In this case, the following permission inside the anonymous role block should be enough: permission org.apache.wiki.auth.permissions.PagePermission "*:LeftMenu/mylogo.png",