Skip to content

Commit dab4a0e

Browse files
authored
fix: add ResourceUserData to provisionerd to allow git auth (#6743)
This was breaking passing a git auth token through!
1 parent 25e92fd commit dab4a0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ var (
137137
rbac.ResourceTemplate.Type: {rbac.ActionRead, rbac.ActionUpdate},
138138
rbac.ResourceUser.Type: {rbac.ActionRead},
139139
rbac.ResourceWorkspace.Type: {rbac.ActionRead, rbac.ActionUpdate, rbac.ActionDelete},
140+
rbac.ResourceUserData.Type: {rbac.ActionRead},
140141
}),
141142
Org: map[string][]rbac.Permission{},
142143
User: []rbac.Permission{},

0 commit comments

Comments
 (0)