nomad icon indicating copy to clipboard operation
nomad copied to clipboard

unclear wildcard matching example in 'ACL policy concepts' tutorial

Open EugenKon opened this issue 1 year ago • 1 comments

On the page: https://developer.hashicorp.com/nomad/tutorials/access-control/access-control-policies

image

You speak about 'greatest number' but choose the rule where * matched less characters. This is confusing. Please clarify documentation.

EugenKon avatar Mar 11 '24 21:03 EugenKon

@EugenKon we chose the rule with the smallest difference, which is the greatest match. I can see how that wording could be confusing though. We have the same wording in https://developer.hashicorp.com/nomad/docs/other-specifications/acl-policy#namespace-rules and should improve it there as well.

tgross avatar Mar 14 '24 20:03 tgross