feat: Working on storage modal in database page in order to add multiple backend storages. Adding a system to manage independently channels from organizations and from system admin.

This commit is contained in:
charlesgauthereau
2026-01-14 21:54:13 +01:00
parent d8e9e2dac3
commit 91f25bc25d
32 changed files with 7663 additions and 461 deletions
+2
View File
@@ -10,6 +10,7 @@ export type OrganizationPermissions = {
canManageSettings: boolean;
canManageUsers: boolean;
canManageNotifications: boolean;
canManageStorages: boolean;
canManageDangerZone: boolean;
};
@@ -32,6 +33,7 @@ export const computeOrganizationPermissions = (
canManageSettings: isOwner || isAdmin,
canManageUsers: isOwner || isAdmin,
canManageNotifications: isOwner || isAdmin,
canManageStorages: isOwner || isAdmin,
canManageDangerZone: isOwner,
};
};