mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
feat: session permissions
This commit is contained in:
@@ -135,6 +135,7 @@ const sessionFactory = (session: Partial<Session> = {}) => ({
|
||||
userId: newUuid(),
|
||||
pinExpiresAt: newDate(),
|
||||
isPendingSyncReset: false,
|
||||
permissions: [Permission.All],
|
||||
...session,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user