Go to file
John Cowen 10c1f5d089
ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490)
Most HTTP API calls will use the default namespace of the calling token to additionally filter/select the data used for the response if one is not specified by the frontend.

The internal permissions/authorize endpoint does not do this (you can ask for permissions from different namespaces in on request).

Therefore this PR adds the tokens default namespace in the frontend only to our calls to the authorize endpoint. I tried to do it in a place that made it feel like it's getting added in the backend, i.e. in a place which was least likely to ever require changing or thinking about.

Note:  We are probably going to change this internal endpoint to also inspect the tokens default namespace on the backend. At which point we can revert this commit/PR.

* Add the same support for the tokens default partition
2021-11-11 12:02:29 +00:00
.changelog ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490) 2021-11-11 12:02:29 +00:00
.circleci ci: Loosen apt source verification (#11493) 2021-11-05 16:38:23 -04:00
.github Prevent running build workflows on all PRs (#11469) 2021-11-01 17:29:45 -06:00
.release Update .release/ci.hcl 2021-11-09 01:46:34 -08:00
acl acl: remove id and revision from Policy constructors 2021-11-05 15:45:08 -04:00
agent Move assertion to after config fetch 2021-11-10 10:50:08 -07:00
api KV refactoring, part 2 (#11512) 2021-11-08 11:43:21 -05:00
bench
build-support
command command/redirect_traffic: Redirect DNS requests to Consul if -consul-dns-ip is passed in (#11480) 2021-11-10 09:10:48 -05:00
connect
contributing
demo
docs
grafana
internal
ipaddr
lib
logging
proto
sdk command/redirect_traffic: Redirect DNS requests to Consul if -consul-dns-ip is passed in (#11480) 2021-11-10 09:10:48 -05:00
sentinel
service_os
snapshot
terraform
test Bump retry time for cross-DC RPC 2021-11-10 12:00:00 -07:00
testrpc Support Check-And-Set deletion of config entries (#11419) 2021-11-01 16:42:01 +00:00
tlsutil regenerate expired certs (#11462) 2021-11-01 11:40:16 -04:00
types
ui ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490) 2021-11-11 12:02:29 +00:00
version
website Merge pull request #11546 from hashicorp/ui/bug/revert-11328 2021-11-10 14:53:23 -07:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml
CHANGELOG.md
Dockerfile PR fixes 2021-10-28 22:22:38 -07:00
GNUmakefile
INTERNALS.md
LICENSE
NOTICE.md
README.md
Vagrantfile
codecov.yml
go.mod Support Vault Namespaces explicitly in CA config (#11477) 2021-11-05 11:42:28 -05:00
go.sum
main.go
main_test.go
package-lock.json

README.md

Consul CircleCI Discuss

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Consul provides several key features:

  • Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.

  • Service Mesh/Service Segmentation - Consul Connect enables secure service-to-service communication with automatic TLS encryption and identity-based authorization. Applications can use sidecar proxies in a service mesh configuration to establish TLS connections for inbound and outbound connections without being aware of Connect at all.

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.

  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.

  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

Consul runs on Linux, macOS, FreeBSD, Solaris, and Windows and includes an optional browser based UI. A commercial version called Consul Enterprise is also available.

Please note: We take Consul's security and our users' trust very seriously. If you believe you have found a security issue in Consul, please responsibly disclose by contacting us at security@hashicorp.com.

Quick Start

A few quick start guides are available on the Consul website:

Documentation

Full, comprehensive documentation is available on the Consul website:

https://www.consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance. For contributions specifically to the browser based UI, please refer to the UI's README.md for guidance.