Skip to content

Commit 130a468

Browse files
committed
chore: Pull v1 rbac into v2
1 parent 9918c16 commit 130a468

35 files changed

+733
-1566
lines changed

coderd/authz/README.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

coderd/authz/authz.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package authz
33
// TODO: Implement Authorize
44
func Authorize(subj Subject, obj Resource, action Action) error {
55
// TODO: Expand subject roles into their permissions as appropriate. Apply scopes.
6+
67
return AuthorizePermissions(subj.ID(), []Permission{}, obj, action)
78
}
89

coderd/authz/authz_test.go

Lines changed: 0 additions & 258 deletions
This file was deleted.

0 commit comments

Comments
 (0)