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 2017/05/08 01:59:04 UTC

[jira] [Created] (SOLR-10627) Security API should not let users create permission with collection:null for per collection permissions

Noble Paul created SOLR-10627:
---------------------------------

             Summary: Security API should not let users create permission with collection:null for per collection permissions
                 Key: SOLR-10627
                 URL: https://issues.apache.org/jira/browse/SOLR-10627
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul


Users end up creating permissions like 

{code}
{
"collection":null,
"name": "update",
"role": "come-role"
}
{code}

They expect this to secure the update operations. 

The security API should throw an error when such a permission is created . For the well-known permissions, we already know the value of {{collection}} . So, just don't let users specify it. Throw an error



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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