node pools: list nodes in pool (#17413)

This commit is contained in:
Luiz Aoqui
2023-06-06 10:43:43 -04:00
committed by GitHub
parent 0d41fb6747
commit f0f4cbb848
14 changed files with 895 additions and 20 deletions

View File

@@ -710,6 +710,9 @@ func (a *ACL) AllowAgentWrite() bool {
// AllowNodeRead checks if read operations are allowed for a node
func (a *ACL) AllowNodeRead() bool {
switch {
// a is nil if ACLs are disabled.
case a == nil:
return true
case a.management:
return true
case a.node == PolicyWrite: