add apikey

This commit is contained in:
2025-03-27 01:14:18 -03:00
parent 7021833476
commit 8118dfd403
14 changed files with 114 additions and 69 deletions

View File

@@ -23,11 +23,11 @@ LIMIT = 25
def me():
user: AuthenticatedUser = router.context['user']
acls = collect.get_items(
KeyPair(user.id, PrefixKey('acls#')),
KeyPair(user.id, PrefixKey('acls')),
limit=LIMIT,
)
workspaces = collect.get_items(
KeyPair(user.id, PrefixKey('orgs#')),
KeyPair(user.id, PrefixKey('orgs')),
limit=LIMIT,
)