mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
- Adds a template_insights pseudo-resource - Grants auditor and template admin roles read access on template_insights - Updates existing RBAC checks to check for read template_insights, falling back to template update permissions where necessary - Updates TemplateLayout to show Insights tab if can read template_insights or can update template
35 lines
765 B
Go
35 lines
765 B
Go
// Code generated by rbacgen/main.go. DO NOT EDIT.
|
|
package rbac
|
|
|
|
func AllResources() []Object {
|
|
return []Object{
|
|
ResourceAPIKey,
|
|
ResourceAuditLog,
|
|
ResourceDebugInfo,
|
|
ResourceDeploymentStats,
|
|
ResourceDeploymentValues,
|
|
ResourceFile,
|
|
ResourceGroup,
|
|
ResourceLicense,
|
|
ResourceOrgRoleAssignment,
|
|
ResourceOrganization,
|
|
ResourceOrganizationMember,
|
|
ResourceProvisionerDaemon,
|
|
ResourceReplicas,
|
|
ResourceRoleAssignment,
|
|
ResourceSystem,
|
|
ResourceTailnetCoordinator,
|
|
ResourceTemplate,
|
|
ResourceTemplateInsights,
|
|
ResourceUser,
|
|
ResourceUserData,
|
|
ResourceWildcard,
|
|
ResourceWorkspace,
|
|
ResourceWorkspaceApplicationConnect,
|
|
ResourceWorkspaceBuild,
|
|
ResourceWorkspaceDormant,
|
|
ResourceWorkspaceExecution,
|
|
ResourceWorkspaceProxy,
|
|
}
|
|
}
|