consul/website/source/api
Matt Keeler 8bd34e126f
Intentions ACL enforcement updates (#7028)
* Renamed structs.IntentionWildcard to structs.WildcardSpecifier

* Refactor ACL Config

Get rid of remnants of enterprise only renaming.

Add a WildcardName field for specifying what string should be used to indicate a wildcard.

* Add wildcard support in the ACL package

For read operations they can call anyAllowed to determine if any read access to the given resource would be granted.

For write operations they can call allAllowed to ensure that write access is granted to everything.

* Make v1/agent/connect/authorize namespace aware

* Update intention ACL enforcement

This also changes how intention:read is granted. Before the Intention.List RPC would allow viewing an intention if the token had intention:read on the destination. However Intention.Match allowed viewing if access was allowed for either the source or dest side. Now Intention.List and Intention.Get fall in line with Intention.Matches previous behavior.

Due to this being done a few different places ACL enforcement for a singular intention is now done with the CanRead and CanWrite methods on the intention itself.

* Refactor Intention.Apply to make things easier to follow.
2020-01-13 15:51:40 -05:00
..
acl Revert "Remove docs refs to NS inference from ACL token" (#6976) 2019-12-20 11:52:50 -05:00
agent Intentions ACL enforcement updates (#7028) 2020-01-13 15:51:40 -05:00
connect Support Connect CAs that can't cross sign (#6726) 2019-11-11 21:36:22 +00:00
features docs: Miscellaneous docs cleanup (#6742) 2019-11-05 20:34:46 -08:00
operator Set MinQuorum variable in Autopilot (#6654) 2019-10-29 09:04:41 -05:00
acl-legacy.html.md [docs] Updating links to guides (#5795) 2019-05-15 10:49:41 -05:00
agent.html.md Prune Unhealthy Agents (#6571) 2019-10-04 16:10:02 -05:00
catalog.html.md Revert "Remove docs refs to NS inference from ACL token" (#6976) 2019-12-20 11:52:50 -05:00
config.html.md docs: Fix delete config entry description (#6593) 2019-11-06 11:30:44 -08:00
connect.html.md Starting Docs (#46) 2018-06-25 12:24:05 -07:00
coordinate.html.md [docs] Fixing API broken links (#5732) 2019-04-30 12:20:51 -05:00
discovery-chain.html.md docs: Fix discovery chain internals link (#6449) 2019-09-05 13:56:50 +01:00
event.html.md [docs] Fixing API broken links (#5732) 2019-04-30 12:20:51 -05:00
health.html.md Revert "Remove docs refs to NS inference from ACL token" (#6976) 2019-12-20 11:52:50 -05:00
index.html.md [docs] Fixing API broken links (#5732) 2019-04-30 12:20:51 -05:00
kv.html.md Revert "Remove docs refs to NS inference from ACL token" (#6976) 2019-12-20 11:52:50 -05:00
libraries-and-sdks.html.md Adds crystal-consul to libraries & sdk docs 2019-11-08 09:37:56 -08:00
namespaces.html.md Add Namespace support to the API module and the CLI commands (#6874) 2019-12-06 11:14:56 -05:00
operator.html.md [docs] Updating links to guides (#5795) 2019-05-15 10:49:41 -05:00
query.html.md docs: Miscellaneous docs cleanup (#6742) 2019-11-05 20:34:46 -08:00
session.html.md Revert "Remove docs refs to NS inference from ACL token" (#6976) 2019-12-20 11:52:50 -05:00
snapshot.html.md docs: Add .tgz to snapshot restore example (#6476) 2019-09-13 19:48:49 -07:00
status.html.md Allow forwarding of some status RPCs (#6198) 2019-07-25 14:26:22 -04:00
txn.html.md TxnCheckOp has a `Check` field not a `Service` field (#6418) 2019-08-28 15:57:41 -04:00