- Notifications
You must be signed in to change notification settings - Fork928
feat: add template RBAC#4125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
41 commits Select commitHold shift + click to select a range
5a47132
feat: Add ACL list support to rego objects
Emyrk03f69bf
Add unit tests
Emyrk91a358d
Rename ACL list
Emyrk8f837b7
Flip rego json to key by user id
Emyrk8378c9b
feat: add template ACL
sreya54a0d13
add down migration
sreya72ea751
remove unused file
sreyad533a16
undo insert templates query change
sreyaf56fcf9
add patch endpoint tests
sreyaf162694
Unit test use shadowed copied value
Emyrkea25c08
Allow wildcards for ACL list
Emyrk5a081eb
fix authorize bug
sreya072b3e4
feat: Allow filter to accept objects of multiple types
Emyrk205c36c
add support for private templates
sreyaba32928
go.mod
sreya5c6344f
Merge branch 'main' into resource_acl_list
sreyaef15908
fix rbac merge woes
sreya8ab5200
update migration
sreyac040e8e
fix workspaces_test
sreya1f4ceee
remove sqlx
sreya7cc71e1
fix audit
sreya131d5ed
fix lint
sreya8c3ee6a
Revert "remove sqlx"
sreyafe2af91
add test for list templates
sreya0218c4e
fix error msg
sreya6883106
fix sqlx woes
sreya4fbd9be
fix lint
sreyac96a6ca
fix audit
sreya57ba8b3
make gen
sreyac66d247
Merge branch 'main' into resource_acl_list
sreya0af367a
fix merge woes
sreyaf6c3f51
fix test template
sreya6e72286
fmt
sreya44bcbde
Add base layout
BrunoQuaresma0f80beb
Add table
BrunoQuaresmad274d62
Add search user
BrunoQuaresma943c76b
Add user role
BrunoQuaresma7f7f1d3
Add update and delete
BrunoQuaresma967a1a9
Fix summary view
BrunoQuaresma1324991
Merge branch 'resource_acl_list' of github.com:coder/coder into resou…
BrunoQuaresmabd34d20
Merge branch 'resource_acl_list' of github.com:coder/coder into resou…
sreyaFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
NextNext commit
feat: Add ACL list support to rego objects
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit5a47132313b5280381106bfcac249ea3f8d0e0b0
There are no files selected for viewing
13 changes: 13 additions & 0 deletionscoderd/rbac/authz_internal_test.go
This file contains hidden or 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
46 changes: 23 additions & 23 deletionscoderd/rbac/builtin.go
This file contains hidden or 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
14 changes: 13 additions & 1 deletioncoderd/rbac/object.go
This file contains hidden or 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
1 change: 1 addition & 0 deletionscoderd/rbac/partial.go
This file contains hidden or 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
9 changes: 8 additions & 1 deletioncoderd/rbac/policy.rego
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.