We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d09e1 commit 9966cb2Copy full SHA for 9966cb2
1 file changed
veadk/tools/builtin_tools/agent_authorization.py
@@ -59,7 +59,7 @@ async def check_agent_authorization(
59
role_id = actors[0]
60
61
principal = {"Type": "user", "Id": user_id}
62
- operation = {"Type": "Action", "Id": "invoke"}
+ operation = {"Type": "action", "Id": "invoke"}
63
resource = {"Type": "agent", "Id": role_id}
64
original_callers = [{"Type": "agent", "Id": actor} for actor in actors[1:]]
65
@@ -68,6 +68,7 @@ async def check_agent_authorization(
68
operation=operation,
69
resource=resource,
70
original_callers=original_callers,
71
+ namespace_name="wqf--test",
72
)
73
74
if allowed:
0 commit comments