Brian,

  Thanks for your reply. My first post was bit convoluted, tried to explain
the issue in the subsequent post. Here's a security JSON. I've solr and
beehive assigned the admin role which allows them to have access to "update"
and "read". This works as expected. I add a new role "browseRole" in order
to restrict certain user to only have access to browse on gettingstarted
collection. 

  "authorization.enabled": true,
  "authorization": {
    "class": "solr.RuleBasedAuthorizationPlugin",
    "user-role": {
      "solr": "admin",
      "beehive": [
        "admin"
      ],
      "dev": [
        "browseRole"
      ]
    },
    "permissions": [
      {
        "name": "update",
        "role": "admin"
      },
      {
        "name": "read",
        "role": "admin"
      },
      {
        "name": "browse",
        "collection": "gettingstarted",
        "path": "/browse",
        "role": "browseRole"
      }
    ],
    "": {
      "v": 6
    }
  }
}

But when I log in as "dev", I seemed to have similar access to "solr" and
"beehive". "dev" can add/delete data, create collection, etc. Will the order
of the permissions matter here even though "dev" is assigned to a specific
role ?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Issues-with-Authentication-Role-based-authorization-tp4276024p4276203.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to