Browse Source

chore(gui): type correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3796/head
Pranav C 2 years ago
parent
commit
7455cb5b11
  1. 4
      packages/nc-gui/composables/useUIPermission/rolePermissions.ts

4
packages/nc-gui/composables/useUIPermission/rolePermissions.ts

@ -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,

Loading…
Cancel
Save