feature: a minimal implementation of staff management is done.

This commit is contained in:
2026-04-30 00:52:05 +03:30
parent d19da80d8e
commit c39bd872bd
26 changed files with 1361 additions and 26 deletions

View File

@@ -223,6 +223,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
name: organization.name,
type: organization.type as Organization['type'],
isOwner: Boolean((organization as { isOwner?: boolean }).isOwner),
permissions: (organization as { permissions?: string[] }).permissions,
plan: (organization as { plan?: Organization['plan'] }).plan,
});