Hi Rolf,
It is quite easy to create your own policy. For example, here is my policy,
which only allow Authenticated users to use the wiki.
/--------------
grant principal org.apache.wiki.auth.authorize.Role "All" {
permission org.apache.wiki.auth.permissions.WikiPermission "*", "login";
};
grant principal org.apache.wiki.auth.authorize.Role "Anonymous" {
};
grant principal org.apache.wiki.auth.authorize.Role "Asserted" {
};
grant principal org.apache.wiki.auth.authorize.Role "Authenticated" {
permission org.apache.wiki.auth.permissions.PagePermission "*:*",
"view,modify,rename";
permission org.apache.wiki.auth.permissions.GroupPermission "*:*", "view";
permission org.apache.wiki.auth.permissions.GroupPermission
"*:<groupmember>", "edit";
permission org.apache.wiki.auth.permissions.WikiPermission "*",
"createPages,createGroups";
};
--------------/
Regards,
Xiaoming
________________________________________
From: Rolf Schumacher [[email protected]]
Sent: 23 June 2015 22:44
To: [email protected]
Subject: Closed
Dear JSPWiki insiders
I would like to open a JSPWiki to a limited set of contributers.
I did several experiments with editing jspwiki.policy without success.
I must say I am not able to understand the logic behind it and stopped
trying it.
Is there just an ready-to-use example of a jspwiki.policy for a limited
set of users?
--
Viele Grüße, Best Regards
Rolf Schumacher