coder
coder copied to clipboard
DNM: example PR to show how to add a new RBAC resource
- In
coderd/rbac/policy/policy.go, add your resources and action definitions. - Run
make gento generatecodersdk/rbacresources_gen.go - Update roles in
coderd/rbac/roles.goand ensure tests incoderd/rbacpass - Add database tables & authorization
- Add API routes & authorization
- Add tests
🤖 Meticulous replayed 100 user sessions and took 759 visual snapshots. Meticulous has not yet run on 956d0cb0424277340e675bb14fef41ae2e35b495 of the main branch and so there was nothing to compare against. If you recently setup Meticulous, this is expected. Meticulous will start reporting comparisons for new pull requests after the next commit to the main branch.
Last updated for commit 16d0869. This comment will update as new commits are pushed.
Thanks @Emyrk @dannykopping ! Closing this out.