refactor: Add better TODO message
This commit is contained in:
parent
12785e31ea
commit
13f0423a55
1 changed files with 2 additions and 1 deletions
|
|
@ -40,5 +40,6 @@ async def get_all_user_permission_datasets(user: User, permission_type: str) ->
|
||||||
# If the dataset id key already exists, leave the dictionary unchanged.
|
# If the dataset id key already exists, leave the dictionary unchanged.
|
||||||
unique.setdefault(dataset.id, dataset)
|
unique.setdefault(dataset.id, dataset)
|
||||||
|
|
||||||
# TODO: Add filtering out of datasets that aren't currently selected tenant of user
|
# TODO: Add filtering out of datasets that aren't currently selected tenant of user (currently selected tenant is the tenant_id value in the User model)
|
||||||
|
# TODO: Add endpoint/method to select current Tenant for a user (This UUID value should be stored in tenant_id of User model)
|
||||||
return list(unique.values())
|
return list(unique.values())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue