Files
2025-12-11 10:11:58 +07:00

17 lines
412 B
TypeScript

import type { Permission } from "~/models/role";
// Should we define the keys first?
// export type Keys = 'key1' | 'key2' | 'key3' | etc
export const permissions: Record<string, Record<string, Permission[]>> = {
'/client/patient': {
'emp|reg': ['C','R','U','D'],
},
'/client/patient/add': {
'emp|reg': ['C','R','U','D'],
},
'/client/patient/{id}': {
'emp|reg': ['C','R','U','D'],
},
}