hashicorp / hashicorp/consul

ui: [FEATURE] Disable Peer Detail and Peer List Routes for HCP Deployments

Open
#13,269 0 comments 0 reactions 1 assignee Claimed by @evrowe View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

### Description

Use a configuration exposed by the Consul backend to disable the Peering UI for HCP managed clusters.

We may also wish to utilize the previously created configuration value (`HCPEnabled`) to indicate at a more general level whether a cluster is managed by HCP, however the specific killswitch config would be more appropriate and not require future changes.

This work has a blocking dependency on the backend implementing the config.

### Requirements

1. If the peering killswitch config is enabled, disable access to the peers listview and details routes
2. Optionally, if the `HCPEnabled` config is enabled, disable access to the peers listview and details routes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.