|
|
@ -14,8 +14,8 @@ const rolePermissions = { |
|
|
|
/** todo: enable wildcard permission |
|
|
|
/** todo: enable wildcard permission |
|
|
|
* limited permission due to unexpected behaviour in shared base if opened in same window */ |
|
|
|
* limited permission due to unexpected behaviour in shared base if opened in same window */ |
|
|
|
[Role.Super]: '*', |
|
|
|
[Role.Super]: '*', |
|
|
|
[Role.Admin]: {}, |
|
|
|
[Role.Admin]: {} as Record<string, boolean>, |
|
|
|
[Role.Guest]: {}, |
|
|
|
[Role.Guest]: {} as Record<string, boolean>, |
|
|
|
[Role.User]: { |
|
|
|
[Role.User]: { |
|
|
|
include: { |
|
|
|
include: { |
|
|
|
projectCreate: true, |
|
|
|
projectCreate: true, |
|
|
|