fix: inherit default role profile config
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
return yoi.profile {
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "coder",
|
||||
description = "Coder role profile with bundled reusable policy",
|
||||
|
||||
@@ -12,4 +12,4 @@ return yoi.profile {
|
||||
ticket = { enabled = false, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return yoi.profile {
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "companion",
|
||||
description = "Companion role profile with bundled reusable policy",
|
||||
|
||||
@@ -12,4 +12,4 @@ return yoi.profile {
|
||||
ticket = { enabled = false, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return yoi.profile {
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "intake",
|
||||
description = "Intake role profile with bundled reusable policy",
|
||||
|
||||
@@ -12,4 +12,4 @@ return yoi.profile {
|
||||
ticket = { enabled = true, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return yoi.profile {
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "orchestrator",
|
||||
description = "Orchestrator role profile with bundled reusable policy",
|
||||
|
||||
@@ -14,4 +14,4 @@ return yoi.profile {
|
||||
},
|
||||
|
||||
delegation_scope = yoi.scope.workspace_write(),
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return yoi.profile {
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "reviewer",
|
||||
description = "Reviewer role profile with bundled reusable policy",
|
||||
|
||||
@@ -12,4 +12,4 @@ return yoi.profile {
|
||||
ticket = { enabled = false, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user