Noble Paul created SOLR-7755:
--------------------------------

             Summary: An API to edit the security params
                 Key: SOLR-7755
                 URL: https://issues.apache.org/jira/browse/SOLR-7755
             Project: Solr
          Issue Type: Sub-task
          Components: security
            Reporter: Noble Paul
            Assignee: Noble Paul


example
{code}
curl http://localhost:8983/solr/admin/authorization -H 
'Content-type:application/json' -d '{
"add-user" : {"name" : "tom", 
             "role": ["admin","dev"]
             },
"create-permission" :{"name":"mycoll-update",
                      "before" :"some-other-permission",
                      "path":"/update/*"
                      "role":["dev","admin"]
                      }

}'
{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to