fix: allow auditors to query deployment stats and insights (#10058)

This is a customer request.
This commit is contained in:
Kyle Carberry
2023-10-04 18:37:25 +00:00
committed by GitHub
parent 516b88dc25
commit 7f9b4ad9a8
+3
View File
@@ -169,6 +169,9 @@ func ReloadBuiltinRoles(opts *RoleOptions) {
ResourceAuditLog.Type: {ActionRead},
ResourceUser.Type: {ActionRead},
ResourceGroup.Type: {ActionRead},
// Allow auditors to query deployment stats and insights.
ResourceDeploymentStats.Type: {ActionRead},
ResourceDeploymentValues.Type: {ActionRead},
// Org roles are not really used yet, so grant the perm at the site level.
ResourceOrganizationMember.Type: {ActionRead},
}),