Skip to content

Commit 7f9b4ad

Browse files
authored
fix: allow auditors to query deployment stats and insights (#10058)
This is a customer request.
1 parent 516b88d commit 7f9b4ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/rbac/roles.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ func ReloadBuiltinRoles(opts *RoleOptions) {
169169
ResourceAuditLog.Type: {ActionRead},
170170
ResourceUser.Type: {ActionRead},
171171
ResourceGroup.Type: {ActionRead},
172+
// Allow auditors to query deployment stats and insights.
173+
ResourceDeploymentStats.Type: {ActionRead},
174+
ResourceDeploymentValues.Type: {ActionRead},
172175
// Org roles are not really used yet, so grant the perm at the site level.
173176
ResourceOrganizationMember.Type: {ActionRead},
174177
}),

0 commit comments

Comments
 (0)