feat/page-claning: moved some consts from lib
This commit is contained in:
No files matched your search
@@ -0,0 +1,31 @@
|
||||
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[]>> = {
|
||||
'/infra-src/bed': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/chamber': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/room': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/warehouse': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/building': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/floor': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/counter': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
'/infra-src/public-screen': {
|
||||
'div|fin': ['C', 'R', 'U', 'D'],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user