open-consul/agent/consul/state
Matt Keeler f9a43a1e2d
ACL Authorizer overhaul (#6620)
* ACL Authorizer overhaul

To account for upcoming features every Authorization function can now take an extra *acl.EnterpriseAuthorizerContext. These are unused in OSS and will always be nil.

Additionally the acl package has received some thorough refactoring to enable all of the extra Consul Enterprise specific authorizations including moving sentinel enforcement into the stubbed structs. The Authorizer funcs now return an acl.EnforcementDecision instead of a boolean. This improves the overall interface as it makes multiple Authorizers easily chainable as they now indicate whether they had an authoritative decision or should use some other defaults. A ChainedAuthorizer was added to handle this Authorizer enforcement chain and will never itself return a non-authoritative decision.

* Include stub for extra enterprise rules in the global management policy

* Allow for an upgrade of the global-management policy
2019-10-15 16:58:50 -04:00
..
acl.go ACL Authorizer overhaul (#6620) 2019-10-15 16:58:50 -04:00
acl_test.go Add support for implementing new requests with protobufs instea… (#6502) 2019-09-20 14:37:22 -04:00
autopilot.go fix ignored errors in state store internals as reported by errcheck 2019-03-01 14:18:00 -06:00
autopilot_test.go Move autopilot to a standalone package 2017-12-11 16:45:33 -08:00
catalog.go Display IPs of machines when node names conflict to ease troubleshooting 2019-08-28 15:57:05 -04:00
catalog_test.go Fixed typos in comments (#6175) 2019-07-19 07:54:53 -04:00
config_entry.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
config_entry_test.go connect: detect and prevent circular discovery chain references (#6246) 2019-08-02 09:18:45 -05:00
connect_ca.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
connect_ca_test.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
coordinate.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
coordinate_test.go Fill out the tests around coordinate/node functionality 2017-10-31 15:36:44 -07:00
delay.go Spelling (#3958) 2018-03-19 16:56:00 +00:00
delay_test.go pkg refactor 2017-06-10 18:52:45 +02:00
graveyard.go pkg refactor 2017-06-10 18:52:45 +02:00
graveyard_test.go pkg refactor 2017-06-10 18:52:45 +02:00
index_connect.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_connect_test.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_service_kind.go Implement Mesh Gateways 2019-07-01 16:28:30 -04:00
intention.go Fix hot loop in cache for RPC returning zero index. 2018-06-25 12:25:37 -07:00
intention_test.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
kvs.go kv: do not trigger watches when setting the same value (#5885) 2019-06-18 15:06:29 +02:00
kvs_test.go kv: do not trigger watches when setting the same value (#5885) 2019-06-18 15:06:29 +02:00
prepared_query.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
prepared_query_index.go pkg refactor 2017-06-10 18:52:45 +02:00
prepared_query_index_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_test.go agent: fix formatting 2018-11-07 02:16:03 -08:00
schema.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
schema_test.go pkg refactor 2017-06-10 18:52:45 +02:00
session.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
session_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
state_store.go Fix Internal.ServiceDump blocking (#6076) 2019-07-04 16:17:49 +01:00
state_store_test.go Connect: Make Connect health queries unblock correctly (#5508) 2019-03-21 16:01:56 +00:00
tombstone_gc.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
tombstone_gc_test.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
txn.go txn: clean up some state store/acl code 2019-01-09 11:59:23 -08:00
txn_test.go api: add support for new txn operations 2018-12-12 10:54:09 -08:00