Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6757a0

Browse files
committed
chore: add permissions to autobuilder to run wsbuild
1 parent b091b99 commit d6757a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ var (
228228
Identifier: rbac.RoleIdentifier{Name: "autostart"},
229229
DisplayName: "Autostart Daemon",
230230
Site: rbac.Permissions(map[string][]policy.Action{
231+
rbac.ResourceOrganizationMember.Type: {policy.ActionRead},
232+
rbac.ResourceFile.Type: {policy.ActionRead}, // Required to read terraform files
231233
rbac.ResourceNotificationMessage.Type: {policy.ActionCreate, policy.ActionRead},
232234
rbac.ResourceSystem.Type: {policy.WildcardSymbol},
233235
rbac.ResourceTemplate.Type: {policy.ActionRead, policy.ActionUpdate},

0 commit comments

Comments
 (0)