feat: initial setup, collections, caregiver frontend

This commit is contained in:
2025-12-02 11:32:45 +01:00
parent cee5925f25
commit 274ac8afa5
48 changed files with 6149 additions and 909 deletions

View File

@@ -21,7 +21,7 @@ export const readAccess: Access<User> = ({ req, id }) => {
req.headers,
getCollectionIDType({ payload: req.payload, collectionSlug: 'tenants' }),
)
const adminTenantAccessIDs = getUserTenantIDs(req.user, 'tenant-admin')
const adminTenantAccessIDs = getUserTenantIDs(req.user, 'admin')
if (selectedTenant) {
// If it's a super admin, or they have access to the tenant ID set in cookie