You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/10/27 19:48:04 UTC

[GitHub] [solr] janhoy commented on pull request #372: SOLR-11623 Every request handler in Solr implement PermissionNameProvider

janhoy commented on pull request #372:
URL: https://github.com/apache/solr/pull/372#issuecomment-953256267


   I discovered that the `ZookeeperReadAPI` clas exposes ZK on `/cluster/zk/data`, and it uses `ZK_READ_PERM` in the `@EndPoint` annotation. What if someone requests `/cluster/zk/data/security.json`, then they should really have `SECURITY_READ_PERM`. But I think with the `@EndPoint` way of assigning permissions, there is no way of assigning more fine-grained permissions based on path. @noblepaul is it possible to lock down only the `/security.json` path by declaring another method with `@EndPoint(path = "/cluster/zk/data/security.json"...` and permission `SECURITY_READ_PERM`? Will it take precedence over the `path = "/cluster/zk/data/*"` one?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org