profile: remove extend profile composition
This commit is contained in:
@@ -1,19 +1,16 @@
|
||||
return yoi.profile.extend("builtin:default", {
|
||||
slug = "reviewer",
|
||||
description = "Reviewer role profile with bundled reusable policy",
|
||||
local p = yoi.profile.import("builtin:default")
|
||||
|
||||
scope = yoi.scope.workspace_read(),
|
||||
p.slug = "reviewer"
|
||||
p.description = "Reviewer role profile with bundled reusable policy"
|
||||
p.scope = yoi.scope.workspace_read()
|
||||
p.worker.instruction = "$yoi/role/reviewer"
|
||||
p.feature = {
|
||||
task = { enabled = false },
|
||||
memory = { enabled = true },
|
||||
web = { enabled = true },
|
||||
pods = { enabled = false },
|
||||
ticket = { enabled = false, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
}
|
||||
|
||||
worker = {
|
||||
instruction = "$yoi/role/reviewer",
|
||||
},
|
||||
|
||||
feature = {
|
||||
task = { enabled = false },
|
||||
memory = { enabled = true },
|
||||
web = { enabled = true },
|
||||
pods = { enabled = false },
|
||||
ticket = { enabled = false, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = false },
|
||||
},
|
||||
})
|
||||
return p
|
||||
|
||||
Reference in New Issue
Block a user