Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6757a0 commit f691657Copy full SHA for f691657
coderd/database/dbauthz/dbauthz.go
@@ -445,6 +445,7 @@ var (
445
},
446
// Should be able to add the prebuilds system user as a member to any organization that needs prebuilds.
447
rbac.ResourceOrganizationMember.Type: {
448
+ policy.ActionRead,
449
policy.ActionCreate,
450
451
// Needs to be able to assign roles to the system user in order to make it a member of an organization.
@@ -458,6 +459,10 @@ var (
458
459
rbac.ResourceOrganization.Type: {
460
policy.ActionRead,
461
462
+ // Required to read the terraform files of a template
463
+ rbac.ResourceFile.Type: {
464
465
+ },
466
}),
467
468
0 commit comments