consul/website/source
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
..
api Intentions ACL enforcement updates (#7028) 2020-01-13 15:51:40 -05:00
assets website: embed yt videos on intro pages (#6871) 2019-12-18 13:54:39 -05:00
docs added disclaimer about network segments due to Serf limitations (#7004) 2020-01-09 10:41:31 +01:00
intro website: embed yt videos on intro pages (#6871) 2019-12-18 13:54:39 -05:00
layouts Add Namespace support to the API module and the CLI commands (#6874) 2019-12-06 11:14:56 -05:00
.gitignore
404.html.md Tweaks 404 message. 2017-04-14 09:00:59 -07:00
android-manifest.json.erb Move to new branding 2017-03-30 18:46:50 -04:00
community.html.erb Update mediums on main community page (#6699) 2019-10-31 14:52:23 -04:00
discovery.html.erb website - font and brand updates (#6716) 2019-11-06 13:53:36 -05:00
downloads.html.erb website: add 1.7.0 Beta announcement to Downloads page (#6911) 2019-12-10 17:09:38 -05:00
downloads_tools.html.erb website, add git2consul-go to the tools list (#6286) 2019-09-19 17:20:50 -05:00
favicon.ico Move to new branding 2017-03-30 18:46:50 -04:00
index.html.erb removed kubecon banner (#6827) 2019-11-22 11:08:17 -06:00
mesh.html.erb website - font and brand updates (#6716) 2019-11-06 13:53:36 -05:00
microsoft-tile.xml.builder Move to new branding 2017-03-30 18:46:50 -04:00
redirects.txt website: remove configuration use-case 2019-07-09 07:47:49 +02:00
robots.txt Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
security.html.erb Move to new branding 2017-03-30 18:46:50 -04:00
sitemap.xml.builder Add robots.txt and sitemap 2014-10-19 19:41:12 -04:00