feat: refactoring casl permission checks for recursive nested operations (#778)
* feat: nested casl abilities * fix: remove unused packages * Fixes * Fix createMany broken * Fix lint * Fix lint * Fix lint * Fix lint * Fixes * Fix CommentThread * Fix bugs * Fix lint * Fix bugs * Fixed auto routing * Fixed app path --------- Co-authored-by: Charles Bochet <charles@twenty.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
"prebuild": "rimraf dist",
|
||||
"build": "nest build",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "set NODE_ENV=development&& nest start",
|
||||
"start": "set NODE_ENV=development && nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start:prod": "node dist/main",
|
||||
@ -32,7 +32,7 @@
|
||||
"@aws-sdk/client-s3": "^3.363.0",
|
||||
"@aws-sdk/credential-providers": "^3.363.0",
|
||||
"@casl/ability": "^6.5.0",
|
||||
"@casl/prisma": "^1.4.0",
|
||||
"@casl/prisma": "1.4.0",
|
||||
"@nestjs/apollo": "^11.0.5",
|
||||
"@nestjs/common": "^9.0.0",
|
||||
"@nestjs/config": "^2.3.2",
|
||||
@ -44,7 +44,7 @@
|
||||
"@nestjs/serve-static": "^3.0.0",
|
||||
"@nestjs/terminus": "^9.2.2",
|
||||
"@paljs/plugins": "^5.3.3",
|
||||
"@prisma/client": "^4.13.0",
|
||||
"@prisma/client": "4.13.0",
|
||||
"@types/lodash.camelcase": "^4.3.7",
|
||||
"@types/lodash.merge": "^4.6.7",
|
||||
"add": "^2.0.6",
|
||||
@ -101,7 +101,7 @@
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"jest": "28.1.3",
|
||||
"prettier": "^2.3.2",
|
||||
"prisma": "^4.13.0",
|
||||
"prisma": "4.13.0",
|
||||
"prisma-nestjs-graphql": "^18.0.2",
|
||||
"prisma-query-log": "^3.2.0",
|
||||
"source-map-support": "^0.5.20",
|
||||
|
||||
Reference in New Issue
Block a user