renaming authorize_action to assert_action_allowed

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
Francisco Javier Arceo 2025-07-21 15:47:43 -04:00
parent 9a308e0ef1
commit d58c2c5f3c
2 changed files with 11 additions and 11 deletions

View file

@ -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,