Commit Graph
13 Commits
Author SHA1 Message Date
Jeff Mitchell e426fcf20e Gofumpt 2021-02-16 14:14:53 -05:00
Jeff Mitchell 22462cdd84 Add read:self and cancel:self to sessions; add dev unpriv user (#923)
* Sessions support for read:self and cancel:self permissions. This is automatic with fallback; no API change is needed.

* Strips out values from listing if only self actions are allowed on the resource and the user ID is different. This prevents a default ACL of id=*;type=session;actions=read:self,cancel:self from causing all values to be visible when listing.

* Adds an unprivileged user to development/testing instances. This user has only default permissions plus the ability to authorize sessions in the default target.
2021-02-11 13:14:18 -05:00
Jeff Mitchell 5266eb3269 Don't error worker filters if a key isn't found, treat it as a non-match (#900) 2021-02-10 15:59:31 -05:00
Jeff Mitchell cb3980cb8c Remove list:self from main (#915)
* Remove list:self from main

As per futher discussions, we won't be supporting this, in favor of
simply read:self and cancel:self (since listing now already filters out
items on which you have no permissions).

This doesn't remove list:self entirely from the code base as much of
that will simply be converted to read:self and cancel:self -- that will
be in a later PR. However, with this removed if we want to release we
won't expose an API publicly that isn't going to stick around.
2021-02-05 14:01:03 -05:00
Jeff Mitchell 1afa3a4b6c Disallow an invalid grant format (#914) 2021-02-05 12:39:55 -05:00
Jeff Mitchell 0629526319 Add read/list/cancel:self actions and support for ACL subactions. (#882)
Update perms table in anticipation of session support for these.
2021-01-22 16:38:19 -07:00
Christian Frichot ea2e0d2be1 docs: typo on encryption page (#770) 2020-11-03 10:40:14 -05:00
Byungjin Park (BJ) 3b347d24d6 Update data-encryption.mdx (#734) 2020-10-20 11:41:53 -07:00
Jeff Mitchell d6e6553a4e Update Authentication Method -> Auth Method 2020-10-12 16:19:13 -04:00
Jeff Mitchell af1ea7fe62 Minor wordsmithing on my encryption doc 2020-10-11 13:06:58 -04:00
Jeff Mitchell 6f36a1cab6 Update security docs (#613) 2020-10-10 19:29:34 -04:00
Jeff Mitchell 5505d9a9ea Add TLS security page (#602) 2020-10-09 17:25:57 -04:00
Jeff Mitchell 273cf29ba4 Update the sidebar to remove so many Model refs (#595)
It's a bit overwhelming to consume the site and see that you have to
understand all these models. This simplifies it a bit. I also fixed up
some minor wording here and there.
2020-10-09 12:41:05 -04:00