You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2016/05/03 12:33:12 UTC

[jira] [Resolved] (SOLR-9049) RuleBasedAuthorizationPlugin should use regex in params instead of just String.equal()

     [ https://issues.apache.org/jira/browse/SOLR-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-9049.
------------------------------
       Resolution: Fixed
    Fix Version/s: 6.1
                   master

> RuleBasedAuthorizationPlugin should use regex in params instead of just String.equal()
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-9049
>                 URL: https://issues.apache.org/jira/browse/SOLR-9049
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>             Fix For: master, 6.1
>
>         Attachments: SOLR-9049.patch, SOLR-9049.patch
>
>
> Params can have complex values which will be difficult to capture in a single string. So, a user can specify a full regex if it is prefixed with a "REGEX:"
> example:
> {code:javascript}
> "{params" : {"action":"REGEX:(i?)create"}
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org