Am 03.10.2017 21:09, schrieb Jürgen Weber:
I followed Dave's blog entry at

https://blog.davekoelmeyer.co.nz/2014/07/20/configuring-a-public-jspwiki-instance-for-private-use/

Has someone tried to keep the front page public? (i.e. to give a
friendly reason for the rest of the pages being private)

I tried to give all front facing pages [{ALLOW view ALL}]
but still only the login prompt.

Hi Juergen,

put the ACLs into jspwiki.policy :

Something like

grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:LeftMenu", "view"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:LeftMenuFooter", "view"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Main", "view"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Impress", "view"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Forbidden", "view"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
};

"Main" ist my front page.

Best regards,
Peter


--
Peter Hormanns - Informatikbüro Hormanns & Wenz
http://www.hormanns-wenz.de - Tel 02151 3274911
Peter Hormanns - Hafenstraße 17 - 47809 Krefeld

Reply via email to