feat: restrict guest doctor access in clinic context by updating role-based routing and sidebar menu

This commit is contained in:
hamed
2026-06-19 21:08:32 +03:30
parent b686cd1e7d
commit 0624a08e62
5 changed files with 147 additions and 11 deletions
+1
View File
@@ -6,6 +6,7 @@ export interface ContextItem {
db_uuid: string;
name: string;
role: 'admin' | 'clinic' | 'doctor' | 'secretary' | 'representation' | 'user';
scope?: string | null;
doctor_uuid?: string;
permissions?: Record<string, any>;
}