mirror of
https://github.com/coder/coder.git
synced 2026-11-09 14:34:47 +08:00
This pull-request implements various permission checks to the `<OAuth2App* />` stories and components. We're trying to ensure that we're actually allowed to `create`/`view`/`delete` on both Secrets and Applications before showing them to the user/allowing action. Furthermore, I've added various stories to catch when a user lacks these permissions. I noticed this particularly because I'm only an `Auditor` on our DEV instance and can't see these fields. --------- Co-authored-by: coder-tasks[bot] <254784001+coder-tasks[bot]@users.noreply.github.com>