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

Arturo Bernal commented on JSPWIKI-1210:
----------------------------------------

Taking over the work of PR #484. The new PR is 
https://github.com/apache/jspwiki/pull/655: Alex's commit rebased on master, 
plus the fixes for the problems found in review (an advanced rule alone left 
the page readable by anonymous users, simple and advanced rules in one page 
lost each other, and an advanced rule followed by a simple one failed on save). 
It also keeps a simple list with commas as a simple rule, does not mail 
subscribers about pages restricted only by advanced rules, and follows profile 
renames. All jspwiki-main tests pass and I checked it on a running wiki.

> Expand page level access controls to support logical and or and not logic
> -------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1210
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1210
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>            Priority: Major
>              Labels: pull-request-available
>
> the current setup is an OR based model i believe, so 
>  
> [\{ALLOW view role1,role2}] 
> implies role1 OR role2
>  
> JSPWiki currently lacks the ability to have something like this
> [\{ALLOW view role1 OR role2}] 
> or
> [\{ALLOW view role1 AND (role2 OR role3) }] 
> I'm sure there' use cases for a NOT operator too



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to