fix(core): align agent tests with universal default permissions (#34561)
This commit is contained in:
parent
75715e2115
commit
12887e572e
2 changed files with 16 additions and 3 deletions
|
|
@ -60,7 +60,6 @@ export const Plugin = define({
|
|||
const configuredDefault = Config.latest(documents, "default_agent")
|
||||
if (configuredDefault !== undefined) draft.default(AgentV2.ID.make(configuredDefault))
|
||||
for (const current of draft.list()) {
|
||||
yield* Effect.log({ msg: "applying permissions", id: current.id, permissions: global })
|
||||
draft.update(current.id, (agent) => agent.permissions.push(...global))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue