With shared instance enabled, we don't allow ACL operations from any of the non-galaxy namespace.
(ns uint64)
| 948 | |
| 949 | // With shared instance enabled, we don't allow ACL operations from any of the non-galaxy namespace. |
| 950 | func shouldAllowAcls(ns uint64) bool { |
| 951 | return !x.Config.SharedInstance || ns == x.RootNamespace |
| 952 | } |
| 953 | |
| 954 | // authorizeQuery authorizes the query using the aclCachePtr. It will silently drop all |
| 955 | // unauthorized predicates from query. |
no outgoing calls
no test coverage detected