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
autopilot_test.go
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
coordinate_test.go
delay.go
delay_test.go
graveyard.go
graveyard_test.go
index_connect.go
index_connect_test.go
index_service_kind.go Implement Mesh Gateways 2019-07-01 16:28:30 -04:00
intention.go
intention_test.go
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
prepared_query_index.go
prepared_query_index_test.go
prepared_query_test.go
schema.go
schema_test.go
session.go
session_test.go
state_store.go Fix Internal.ServiceDump blocking (#6076) 2019-07-04 16:17:49 +01:00
state_store_test.go
tombstone_gc.go
tombstone_gc_test.go
txn.go
txn_test.go