File tree 4 files changed +36
-0
lines changed
pages/DeploySettingsPage/SecuritySettingsPage 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ type Objecter interface {
14
14
// Resources are just typed objects. Making resources this way allows directly
15
15
// passing them into an Authorize function and use the chaining api.
16
16
var (
17
+ // ResourceWildcard represents all resource types
18
+ // Try to avoid using this where possible.
19
+ ResourceWildcard = Object {
20
+ Type : WildcardSymbol ,
21
+ }
22
+
17
23
// ResourceWorkspace CRUD. Org + User owner
18
24
// create/delete = make or delete workspaces
19
25
// read = access workspace
Original file line number Diff line number Diff line change
1
+ package codersdk
2
+
3
+ type RBACResource string
4
+
5
+ const (
6
+ ResourceWorkspace RBACResource = "workspace"
7
+ ResourceWorkspaceProxy RBACResource = "workspace_proxy"
8
+ ResourceWorkspaceExecution RBACResource = "workspace_execution"
9
+ ResourceWorkspaceApplicationConnect RBACResource = "application_connect"
10
+ ResourceAuditLog RBACResource = "audit_log"
11
+ ResourceTemplate RBACResource = "template"
12
+ ResourceGroup RBACResource = "group"
13
+ ResourceFile RBACResource = "file"
14
+ ResourceProvisionerDaemon RBACResource = "provisioner_daemon"
15
+ ResourceOrganization RBACResource = "organization"
16
+ ResourceRoleAssignment RBACResource = "assign_role"
17
+ ResourceOrgRoleAssignment RBACResource = "assign_org_role"
18
+ ResourceAPIKey RBACResource = "api_key"
19
+ ResourceUser RBACResource = "user"
20
+ ResourceUserData RBACResource = "user_data"
21
+ ResourceOrganizationMember RBACResource = "organization_member"
22
+ ResourceLicense RBACResource = "license"
23
+ ResourceDeploymentValues RBACResource = "deployment_config"
24
+ ResourceDeploymentStats RBACResource = "deployment_stats"
25
+ ResourceReplicas RBACResource = "replicas"
26
+ ResourceDebugInfo RBACResource = "debug_info"
27
+ ResourceSystem RBACResource = "system"
28
+ )
Original file line number Diff line number Diff line change @@ -379,6 +379,7 @@ export interface DeploymentValues {
379
379
readonly git_auth ?: any
380
380
readonly config_ssh ?: SSHConfig
381
381
readonly wgtunnel_host ?: string
382
+ readonly disable_owner_workspace_exec ?: boolean
382
383
readonly config ?: string
383
384
readonly write_config ?: boolean
384
385
// Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any"
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export const SecuritySettingsPageView = ({
36
36
options ,
37
37
"SSH Keygen Algorithm" ,
38
38
"Secure Auth Cookie" ,
39
+ "Disable Owner Workspace Execution"
39
40
) }
40
41
/>
41
42
</ div >
You can’t perform that action at this time.
0 commit comments