🔒️ roles : organizations support

This commit is contained in:
swve 2022-07-08 21:47:29 +02:00
parent 90234bc5d7
commit 73e25c4b37
5 changed files with 16 additions and 30 deletions

View file

@ -70,6 +70,8 @@ async def check_element_type(element_id):
return "users"
elif element_id.startswith("house_"):
return "houses"
elif element_id.startswith("org_"):
return "organizations"
elif element_id.startswith("collection_"):
return "collections"
else: