mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 02:39:41 +00:00
renaming authorize_action to assert_action_allowed
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
9a308e0ef1
commit
d58c2c5f3c
2 changed files with 11 additions and 11 deletions
|
|
@ -210,7 +210,7 @@ class CommonRoutingTableImpl(RoutingTable):
|
|||
await self.dist_registry.register(obj)
|
||||
return obj
|
||||
|
||||
async def authorize_action(
|
||||
async def assert_action_allowed(
|
||||
self,
|
||||
action: Action,
|
||||
type: str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue