-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable self-service ops collections via special case
This is a medium-term ... hack, which enables users to read the ops logs and stats of their own tasks. When reading the especially-enumerated collections, we bypass traditional prefix authorization and instead authorize over the `name` partition of the logs or stats collection. Testing: * Verified this enables the new ops view of the entity details page. * Verified that slightly perturbing how build up allowed prefixes causes unauthorized errors to be returned. * Verified that a locally-modified `flowctl` is able to list journals and fragments of task logs, as well as read them, as a regular user of a local stack.
- Loading branch information
1 parent
ca10b52
commit d086acb
Showing
1 changed file
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters