mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
🔒️ roles : organizations support
This commit is contained in:
parent
90234bc5d7
commit
73e25c4b37
5 changed files with 16 additions and 30 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue