Browse Source

chore(api): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3796/head
Pranav C 2 years ago
parent
commit
528ae51296
  1. 29
      packages/nocodb/src/lib/utils/projectAcl.ts

29
packages/nocodb/src/lib/utils/projectAcl.ts

@ -1,24 +1,25 @@
export default { export default {
owner: { owner: {
exclude: { exclude: {
pluginList:true, pluginList: true,
pluginTest:true, pluginTest: true,
pluginRead:true, pluginRead: true,
pluginUpdate:true, pluginUpdate: true,
isPluginActive:true, isPluginActive: true,
}, },
}, },
creator: { creator: {
exclude: { exclude: {
pluginList:true, pluginList: true,
pluginTest:true, pluginTest: true,
pluginRead:true, pluginRead: true,
pluginUpdate:true, pluginUpdate: true,
isPluginActive:true, isPluginActive: true,
}, },
}, },
guest: {}, guest: {},
editor:{ include: { editor: {
include: {
hideAllColumns: true, hideAllColumns: true,
showAllColumns: true, showAllColumns: true,
auditRowUpdate: true, auditRowUpdate: true,
@ -261,18 +262,18 @@ export default {
indexList: true, indexList: true,
list: true, list: true,
xcExportAsCsv: true, xcExportAsCsv: true,
dataCount: true dataCount: true,
}, },
}, },
user_new: { user_new: {
include: { include: {
passwordChange: true, passwordChange: true,
projectList: true, projectList: true,
} },
}, },
super: '*', super: '*',
user: { user: {
include : { include: {
upload: true, upload: true,
uploadViaURL: true, uploadViaURL: true,
passwordChange: true, passwordChange: true,

Loading…
Cancel
Save