refactor(permission): effectify PermissionNext + fix InstanceState ALS bug (#17511)
This commit is contained in:
parent
689d9e14ea
commit
f015154314
12 changed files with 805 additions and 264 deletions
|
|
@ -183,7 +183,7 @@ describe("tool.read env file permissions", () => {
|
|||
askedForEnv = true
|
||||
}
|
||||
if (rule.action === "deny") {
|
||||
throw new PermissionNext.DeniedError(agent.permission)
|
||||
throw new PermissionNext.DeniedError({ ruleset: agent.permission })
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue