Hi Jerry,

Assuming "certain areas" means "certains pages" and not "certain sections
of a page",
if it's a small, well known set of pages you could add the following markup
to those pages:
[{ALLOW view userOrRole1, userOrRole2, etc.}]

Another approach could be using wildcards on the policy file f.ex.:
permission org.apache.wiki.auth.permissions.PagePermission "*:Main*",
"edit";

check https://jspwiki-wiki.apache.org/Wiki.jsp?page=Wiki.Admin.Security for
details


HTH,
juan pablo

On Wed, Oct 22, 2014 at 11:59 PM, Jerry Malcolm <[email protected]>
wrote:

> I am running container-managed security on JspWiki.  I would like to
> section off certain areas and restrict access to those areas of the wiki
> based on user roles.  I know I can control functionality of the wiki
> (view/edit/delete/etc) based on roles.  But is there any way to limit
> access to certain pages by role?
>
> Thanks.
>
> Jerry
>

Reply via email to