(preds []string)
| 937 | } |
| 938 | |
| 939 | func blockedPreds(preds []string) map[string]struct{} { |
| 940 | blocked := make(map[string]struct{}) |
| 941 | for _, pred := range preds { |
| 942 | if x.IsAclPredicate(pred) { |
| 943 | blocked[pred] = struct{}{} |
| 944 | } |
| 945 | } |
| 946 | return blocked |
| 947 | } |
| 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 { |
no test coverage detected