Skip to content

Commit c2b1dde

Browse files
committed
Remove unused fields
1 parent c1423d4 commit c2b1dde

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

coderd/rbac/authz.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ func NewAuthorizer() (*RegoAuthorizer, error) {
3636
type authSubject struct {
3737
ID string `json:"id"`
3838
Roles []Role `json:"roles"`
39-
40-
SitePermissions []Permission `json:"site_permissions"`
41-
OrgPermissions []Permission `json:"org_permissions"`
42-
UserPermissions []Permission `json:"user_permissions"`
4339
}
4440

4541
func (a RegoAuthorizer) Authorize(ctx context.Context, subjectID string, roles []Role, object Object, action Action) error {

0 commit comments

Comments
 (0)