open-nomad/nomad/state
James Rasell 9e3f1581fb
core: add ACL role functionality to ACL tokens.
ACL tokens can now utilize ACL roles in order to provide API
authorization. Each ACL token can be created and linked to an
array of policies as well as an array of ACL role links. The link
can be provided via the role name or ID, but internally, is always
resolved to the ID as this is immutable whereas the name can be
changed by operators.

When resolving an ACL token, the policies linked from an ACL role
are unpacked and combined with the policy array to form the
complete auth set for the token.

The ACL token creation endpoint handles deduplicating ACL role
links as well as ensuring they exist within state.

When reading a token, Nomad will also ensure the ACL role link is
current. This handles ACL roles being deleted from under a token
from a UX standpoint.
2022-08-17 14:45:01 +01:00
..
indexer core: add ACL token expiry state, struct, and RPC handling. (#13718) 2022-07-13 15:40:34 +02:00
paginator service discovery: add pagination and filtering support to info requests (#12552) 2022-04-13 07:41:44 +02:00
autopilot.go autopilot: correctly return errors within state functions. (#12714) 2022-04-21 08:54:50 +02:00
autopilot_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_events_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
events.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
events_test.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go core: add ACL role state schema and functionality. (#13955) 2022-08-09 09:33:41 +02:00
schema_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go core: add ACL role functionality to ACL tokens. 2022-08-17 14:45:01 +01:00
state_store_acl.go core: add ACL role functionality to ACL tokens. 2022-08-17 14:45:01 +01:00
state_store_acl_test.go core: add ACL role functionality to ACL tokens. 2022-08-17 14:45:01 +01:00
state_store_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
state_store_restore.go core: add ACL role state schema and functionality. (#13955) 2022-08-09 09:33:41 +02:00
state_store_restore_test.go core: add ACL role state schema and functionality. (#13955) 2022-08-09 09:33:41 +02:00
state_store_secure_variables.go block deleting namespace if it contains a secure variable (#13888) 2022-07-22 10:06:35 -04:00
state_store_secure_variables_test.go secure vars: updates should reduce quota tracking if smaller (#13742) 2022-07-15 11:08:53 -04:00
state_store_service_regisration_test.go nomad/state: fix dropped test errors (#12406) 2022-04-07 10:48:10 -04:00
state_store_service_registration.go state: add service registration state interaction functions. 2022-02-28 10:15:03 +01:00
state_store_test.go block deleting namespace if it contains a secure variable (#13888) 2022-07-22 10:06:35 -04:00
testing.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00