mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
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:
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user