Files
nomad/nomad
Tim Gross 3ef25e5867 ACL: allow workload identities to list/get their own policies (#26772)
In most RPC endpoints we use the resolved ACL object to determine whether a
given auth token or identity has access to the object of interest to the
RPC. In #15870 we adjusted this across most of the RPCs to handle workload identity.

But in the ACL endpoints that read policies, we can't use the resolved ACL
object and have to go back to the original token and lookup the policies it has
access to. So we need to resolve any workload-associated policies during that
lookup as well.

Fixes: https://github.com/hashicorp/nomad/issues/26764
Ref: https://hashicorp.atlassian.net/browse/NMD-990
Ref: https://github.com/hashicorp/nomad/pull/15870
2025-09-18 09:10:37 -04:00
..
2024-09-19 13:56:42 -04:00
2025-03-03 10:08:50 -05:00
2025-03-03 10:08:50 -05:00
2023-10-12 12:21:48 -04:00