consul/agent/consul
Jeremy Jacobson 6424ef6a56
[CC-5719] Add support for builtin global-read-only policy (#18319)
* [CC-5719] Add support for builtin global-read-only policy

* Add changelog

* Add read-only to docs

* Fix some minor issues.

* Change from ReplaceAll to Sprintf

* Change IsValidPolicy name to return an error instead of bool

* Fix PolicyList test

* Fix other tests

* Apply suggestions from code review

Co-authored-by: Paul Glass <pglass@hashicorp.com>

* Fix state store test for policy list.

* Fix naming issues

* Update acl/validation.go

Co-authored-by: Chris Thain <32781396+cthain@users.noreply.github.com>

* Update agent/consul/acl_endpoint.go

---------

Co-authored-by: Paul Glass <pglass@hashicorp.com>
Co-authored-by: Chris Thain <32781396+cthain@users.noreply.github.com>
2023-08-01 17:12:14 +00:00
..
auth [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
authmethod
autopilotevents
controller controller: deduplicate items in queue (#17168) 2023-05-09 18:14:20 +01:00
discoverychain Refactor disco chain prioritize by locality structs (#17696) 2023-06-13 11:03:30 -04:00
fsm [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
gateways Fix subscribing/fetching objects not in the default partition (#17581) 2023-06-06 09:09:33 -04:00
multilimiter fix some testing.T retry.R mixups (#17600) 2023-06-07 13:53:27 -05:00
prepared_query Add sameness group field to prepared queries (#17089) 2023-04-24 13:21:28 -07:00
rate fix rate limiting mapping to be the same between api and struct packages (#17599) 2023-06-07 14:50:22 -04:00
reporting feat: add no-op reporting background routine (#17178) 2023-04-28 20:07:03 -04:00
servercert agent: remove agent cache dependency from service mesh leaf certificate management (#17075) 2023-06-13 10:54:45 -05:00
state [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
stream
testdata
usagemetrics [API Gateway] Fix rate limiting for API gateways (#17631) 2023-06-09 08:22:32 -04:00
wanfed
watch Fix issue with streaming service health watches. (#17775) 2023-06-15 12:46:58 -05:00
xdscapacity
acl.go
acl_authmethod.go
acl_authmethod_oss.go
acl_client.go
acl_endpoint.go [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
acl_endpoint_oss.go
acl_endpoint_test.go [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
acl_oss.go
acl_oss_test.go
acl_replication.go
acl_replication_test.go
acl_replication_types.go
acl_server.go Only synthesize anonymous token in primary DC (#17231) 2023-05-23 09:38:04 -05:00
acl_server_oss.go
acl_test.go
acl_token_exp.go
acl_token_exp_test.go
auto_config_backend.go docs: Fix some comments (#17118) 2023-07-31 10:56:09 -07:00
auto_config_backend_test.go
auto_config_endpoint.go
auto_config_endpoint_test.go
auto_encrypt_endpoint.go
auto_encrypt_endpoint_test.go
autopilot.go
autopilot_oss.go
autopilot_test.go
catalog_endpoint.go
catalog_endpoint_test.go
client.go docs: fix the description of client rpc (#18206) 2023-07-20 16:34:36 -04:00
client_serf.go
client_test.go re org resource type registry (#18133) 2023-07-14 18:00:17 -07:00
cluster_test.go
config.go agent: prevent very old servers re-joining a cluster with stale data (#17171) 2023-05-15 04:05:47 -07:00
config_cloud.go Update HCP bootstrapping to support existing clusters (#16916) 2023-04-27 22:27:39 +02:00
config_endpoint.go Permissive mTLS: Config entry filtering and CLI warnings (#17183) 2023-04-28 12:51:36 -05:00
config_endpoint_test.go Fix incorrect protocol for transparent proxy upstreams. (#17894) 2023-07-05 09:32:10 -05:00
config_oss.go
config_replication.go extract some config entry helpers into package (#17434) 2023-05-23 12:15:30 -05:00
config_replication_test.go extract some config entry helpers into package (#17434) 2023-05-23 12:15:30 -05:00
config_test.go
connect_ca_endpoint.go
connect_ca_endpoint_test.go
context.go
context_test.go
coordinate_endpoint.go
coordinate_endpoint_test.go
discovery_chain_endpoint.go
discovery_chain_endpoint_test.go Attach service virtual IP info to compiled discovery chain (#17295) 2023-05-12 02:28:16 +00:00
enterprise_client_oss.go
enterprise_config_oss.go
enterprise_server_oss.go
enterprise_server_oss_test.go
federation_state_endpoint.go
federation_state_endpoint_test.go
federation_state_replication.go
federation_state_replication_test.go
filter.go
filter_test.go
flood.go
gateway_locator.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
gateway_locator_test.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
grpc_integration_test.go
health_endpoint.go Fix ACL check on health endpoint (#17424) 2023-05-24 16:35:55 -05:00
health_endpoint_test.go watch: support -filter for consul watch: checks, services, nodes, service (#17780) 2023-06-23 12:00:46 -04:00
helper_test.go
intention_endpoint.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
intention_endpoint_test.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
internal_endpoint.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
internal_endpoint_test.go Add /v1/internal/service-virtual-ip for manually setting service VIPs (#17294) 2023-05-12 00:38:52 +00:00
issue_test.go
kvs_endpoint.go
kvs_endpoint_test.go
leader.go [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
leader_connect.go
leader_connect_ca.go Fix bug with Vault CA provider (#18112) 2023-07-14 15:58:33 -04:00
leader_connect_ca_test.go Fix bug with Vault CA provider (#18112) 2023-07-14 15:58:33 -04:00
leader_connect_test.go Fix bug with Vault CA provider (#18112) 2023-07-14 15:58:33 -04:00
leader_federation_state_ae.go
leader_federation_state_ae_test.go
leader_intentions.go
leader_intentions_oss.go
leader_intentions_oss_test.go
leader_intentions_test.go
leader_log_verification.go
leader_metrics.go
leader_metrics_test.go
leader_oss_test.go
leader_peering.go
leader_peering_test.go Various bits of cleanup detected when using Go Workspaces (#17462) 2023-06-05 16:08:39 -04:00
leader_test.go [CC-5719] Add support for builtin global-read-only policy (#18319) 2023-08-01 17:12:14 +00:00
logging.go
logging_test.go
merge.go
merge_oss.go FIPS gossip changes (#17507) 2023-05-30 17:40:31 -05:00
merge_oss_test.go
merge_test.go update tests for fips (#17592) 2023-06-07 10:57:56 -05:00
operator_autopilot_endpoint.go
operator_autopilot_endpoint_test.go
operator_backend.go
operator_backend_test.go
operator_endpoint.go
operator_raft_endpoint.go [NET-3865] [Supportability] Additional Information in the output of 'consul operator raft list-peers' (#17582) 2023-06-14 15:12:50 +00:00
operator_raft_endpoint_test.go [NET-3865] [Supportability] Additional Information in the output of 'consul operator raft list-peers' (#17582) 2023-06-14 15:12:50 +00:00
operator_usage_endpoint.go
options.go re org resource type registry (#18133) 2023-07-14 18:00:17 -07:00
options_oss.go
peering_backend.go
peering_backend_oss.go
peering_backend_oss_test.go
peering_backend_test.go
prepared_query_endpoint.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
prepared_query_endpoint_oss.go Add sameness group field to prepared queries (#17089) 2023-04-24 13:21:28 -07:00
prepared_query_endpoint_oss_test.go Add sameness group field to prepared queries (#17089) 2023-04-24 13:21:28 -07:00
prepared_query_endpoint_test.go docs: Fix some comments (#17118) 2023-07-31 10:56:09 -07:00
raft_handle.go
raft_rpc.go
replication.go
replication_test.go
rpc.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
rpc_test.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
rtt.go
rtt_test.go
segment_oss.go
serf_filter.go
serf_test.go
server.go docs: Fix some comments (#17118) 2023-07-31 10:56:09 -07:00
server_connect.go
server_log_verification.go
server_lookup.go
server_lookup_test.go
server_metadata.go agent: prevent very old servers re-joining a cluster with stale data (#17171) 2023-05-15 04:05:47 -07:00
server_metadata_test.go agent: prevent very old servers re-joining a cluster with stale data (#17171) 2023-05-15 04:05:47 -07:00
server_oss.go
server_oss_test.go
server_overview.go
server_overview_test.go
server_register.go
server_serf.go grpc: ensure grpc resolver correctly uses lan/wan addresses on servers (#17270) 2023-05-11 11:08:57 -05:00
server_test.go HCP Telemetry Feature (#17460) 2023-05-29 16:11:08 -04:00
session_endpoint.go
session_endpoint_test.go
session_timers.go
session_timers_test.go
session_ttl.go
session_ttl_test.go
snapshot_endpoint.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
snapshot_endpoint_test.go
stats_fetcher.go
stats_fetcher_test.go
status_endpoint.go
status_endpoint_test.go
subscribe_backend.go
subscribe_backend_test.go grpc: ensure grpc resolver correctly uses lan/wan addresses on servers (#17270) 2023-05-11 11:08:57 -05:00
system_metadata.go
system_metadata_test.go
txn_endpoint.go [OSS] gRPC Blocking Queries (#17426) 2023-05-23 17:29:10 -04:00
txn_endpoint_test.go
type_registry.go re org resource type registry (#18133) 2023-07-14 18:00:17 -07:00
util.go
util_test.go