mirror of
https://github.com/status-im/consul.git
synced 2025-01-13 07:14:37 +00:00
76f5de1455
* ui: Ensure dc selector correctly shows the currently selected dc * ui: Restrict access to non-default partitions in non-primaries (#11420) This PR restricts access via the UI to only the default partition when in a non-primary datacenter i.e. you can only have multiple (non-default) partitions in the primary datacenter.
11 lines
504 B
JavaScript
11 lines
504 B
JavaScript
// TODO: Need to make all these headers capital case
|
|
export const HEADERS_PARTITION = 'X-Consul-Partition';
|
|
export const HEADERS_NAMESPACE = 'X-Consul-Namespace';
|
|
export const HEADERS_DATACENTER = 'X-Consul-Datacenter';
|
|
export const HEADERS_DEFAULT_ACL_POLICY = 'X-Consul-Default-Acl-Policy';
|
|
export const HEADERS_INDEX = 'X-Consul-Index';
|
|
export const HEADERS_TOKEN = 'X-Consul-Token';
|
|
export const HEADERS_DIGEST = 'X-Consul-ContentHash';
|
|
//
|
|
export const HEADERS_SYMBOL = '__consul_ui_http_headers__';
|