{"_id":"@tyrissoftware/nestjs-permissions","_rev":"25-669e8448d43d42c5748ec752da8ed9e4","time":{"created":"2024-01-16T08:06:30.563Z","1.0.0":"2024-01-16T07:05:29.384Z","modified":"2024-04-24T09:26:27.498Z","1.0.1":"2024-01-16T07:37:51.302Z","1.0.0-candidate.1":"2024-01-16T08:06:30.869Z","1.0.2-candidate.0":"2024-01-16T08:06:50.070Z","1.0.2":"2024-01-16T08:09:21.563Z","1.0.3-candidate.0":"2024-01-16T08:18:37.316Z","1.0.3-candidate.1":"2024-01-16T08:21:52.231Z","1.0.3-candidate.2":"2024-01-16T08:28:47.330Z","1.0.3":"2024-01-16T09:29:34.750Z","1.0.4":"2024-01-16T12:32:56.727Z","1.0.5":"2024-01-16T14:35:30.833Z","1.0.6-candidate.0":"2024-01-16T14:39:37.435Z","1.0.6-candidate.1":"2024-01-16T14:42:11.315Z","1.0.7-candidate.0":"2024-01-16T18:40:50.287Z","1.0.7":"2024-01-16T19:11:39.288Z","2.0.0-candidate.0":"2024-01-25T08:06:25.758Z","2.0.0-candidate.1":"2024-01-25T08:11:38.772Z","2.0.0":"2024-01-25T09:08:25.604Z","2.0.1":"2024-02-06T09:12:28.281Z","2.0.2":"2024-02-06T09:59:43.015Z","2.0.3-candidate.2":"2024-04-24T09:26:27.280Z"},"name":"@tyrissoftware/nestjs-permissions","dist-tags":{"latest":"2.0.3-candidate.2"},"versions":{"1.0.0-candidate.1":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.0-candidate.1","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","npm-run-all":"^4.1.5","run":"^1.5.0"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.0-candidate.1","gitHead":"e4cd1179be167ab2c376ce593cb274880839efcc","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-WwtDRwVh4IndCYSWX6lWmnM8yzd1mcV08tcW01MOxjgTZ7ixSXHTOZ3Gb+ZepUjq5O5yuZxIjLJyUhKi8WsEVA==","shasum":"4c30b8bd369eca99d2d851c2939e5ff43472206f","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.0-candidate.1.tgz","fileCount":13,"unpackedSize":112539,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiufA6a2kuiQg0fbAt3m7n9rJlk+TGKDDSKufF8KLORAiAyC5Dl8l8Yt7cVFLgm93tCKtOF0rd9LiKZ3jdJxbvqXg=="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.0-candidate.1_1705392390710_0.7251345459046163"},"_hasShrinkwrap":false},"1.0.2-candidate.0":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.2-candidate.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","npm-run-all":"^4.1.5","run":"^1.5.0"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.2-candidate.0","gitHead":"e4cd1179be167ab2c376ce593cb274880839efcc","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-/XnS3pdJoa/t8LissqlXhjRr0kSYW7K7w6npT/MkA/0+uiThsmfyLxlVaCTK7QO3VSboCxe73EMzfV5FBhE25Q==","shasum":"6e5a9550f3cc36ceb01c1ef66e047ca184d99c62","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.2-candidate.0.tgz","fileCount":13,"unpackedSize":112539,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEu1IWjh1dFjGAorBC4pCGp10z8CIm8WVhkyM40yyBZOAiEAi28m3MjR3zSwhn99KE4SpikxOdtyadrfhMzYCQrGmcc="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.2-candidate.0_1705392409891_0.36746608122530966"},"_hasShrinkwrap":false},"1.0.2":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.2","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.2","gitHead":"475159a1abb5808d4ce88d8b60d16723beaf22cd","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-/wPPGKVtS/jYQhX6AlLtG2ITLjw2TNFc93WIs7ojO00OPQpI8ApHN9YyNDP404HN7NUdL7AbeUep1oFGhn9mqg==","shasum":"44fe336190add75a9a368d6c66a6ddcd3069b8af","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.2.tgz","fileCount":13,"unpackedSize":115238,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5bmk2iH1ta5sX9Tc+lY4dE5o8E6YI6geh+mlTbdlKbQIhANDCHHogd49uuShLMAGEr4HRBlEYDlt9EEj616xNyWir"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.2_1705392561397_0.1686627996774006"},"_hasShrinkwrap":false},"1.0.3-candidate.0":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.3-candidate.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.3-candidate.0","gitHead":"475159a1abb5808d4ce88d8b60d16723beaf22cd","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-CFB+Yc90BYDWeOyQuI/bP0JbhzmHXYnCXKa7NVL7sL20lCg30isI3EVjSIfLfqn6L+na6nYHxf78Ilux52z+ug==","shasum":"91abcd0fe81694af41ce10167d8199804ed6533d","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.3-candidate.0.tgz","fileCount":13,"unpackedSize":115250,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA8ioXVjPOT6jX97YDITqv922dK1z/eo6mBIdB8lEUzgIgPYB6d3hgKOHSyJUKa2PmQz4+K/IcQUO+n3CARuK1fjU="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.3-candidate.0_1705393117171_0.010634323111450295"},"_hasShrinkwrap":false},"1.0.3-candidate.1":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.3-candidate.1","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.3-candidate.1","gitHead":"475159a1abb5808d4ce88d8b60d16723beaf22cd","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-OTMA6+xk3VLJ3L049hzCvvSie+TtzT1NuRNOE1rfHE8iPsz1zTrTuE7w/3vzJz/ZJFQswOj+Mrw9IbgOOlmH0g==","shasum":"994817f719dde10c80011fcb773e2580fdf29c9d","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.3-candidate.1.tgz","fileCount":13,"unpackedSize":113946,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaN1C8ushMsNi59kEIYVMPWtNDAgpvURFC5ZdaJ5uL5wIhAOLDpFiez4DhhTIzZyXJfoyMxGbl/6xpfhNPlWTVvvpy"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.3-candidate.1_1705393312034_0.43590988948177656"},"_hasShrinkwrap":false},"1.0.3-candidate.2":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.3-candidate.2","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.3-candidate.2","gitHead":"475159a1abb5808d4ce88d8b60d16723beaf22cd","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-F3Ybiewh9MNiQrCvis07kHnGHKEc9Iwe11edLhY12/W4kwf+wZv/ZLi2MnbwVygos4gDEMRMFoxNlgx1SvcrUg==","shasum":"9e1c0561cf9c506084b70d4686d4a872cd43291d","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.3-candidate.2.tgz","fileCount":13,"unpackedSize":114420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChWf1zMlvfsLdHise1t5RipeipdbDMlMIvx5z6X1dKoQIhAKmjVIbe5+/w6eZ4SRx3DKKD4TGxZBo+vOp4TtGKPail"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.3-candidate.2_1705393727120_0.9797929277341362"},"_hasShrinkwrap":false},"1.0.3":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.3","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.3","gitHead":"db880208bb735ea49642372f8c8df7bdc1b3ce18","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-D0OdmiMa/szmj4XJloAOoDxfLU3EaUOl+/AMPvpNNzCOvPdOXPEpriEqEYhZd5DBzIj2LcQ/iChvd6Hp76dt7Q==","shasum":"a36a047ffc1b80a746fff894b0402567681bbf62","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.3.tgz","fileCount":13,"unpackedSize":114299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCC/FRRRmGclFp7xSA9pIwm8OhGBHlo+tjWrzo5Kd10SQIhALQD+iVsbuzirpOdlE17fsyox9771kLl0WTzWA8L97Hd"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.3_1705397374585_0.27466736968311833"},"_hasShrinkwrap":false},"1.0.4":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.4","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","rimraf":"^5.0.5","npm-run-all":"^4.1.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.4","gitHead":"3381ed6e431bc745717a28fc8dd8777a6be502cc","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-9ZfFRQW81XFgYqUB4n/jLTQWGLL/ssBl0FzxZgwKBErU3eB4OCMI8cv5BOJ6lYlEIhtk0u6bhWUf/VB8/hg8Sg==","shasum":"4d908c055f06ef204f7e4aa6d1a3ebcc9bc9fceb","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.4.tgz","fileCount":15,"unpackedSize":119954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbicMe/wC//JR/p4PquN7TpxP4yHSwdAW7Q6FaOYpZQAiEAzzyuP/ZwdeFCxjJzECTvVbIc/Ct2BvNNmpj9K6R+6hw="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.4_1705408376562_0.09214739894699076"},"_hasShrinkwrap":false},"1.0.5":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.5","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.5","gitHead":"0876a8626778c54d19b9812ba853436f24ea4c1a","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-EwgwtuJDAXv9oIJwp9rJFseGcCOSp6WTmhb80P5Out+guJKwFMHi/J6O+F2tzURCt3A739kr/961j3uzjzrcTw==","shasum":"8b841c75012d950372a2c022a771b063d0d2988b","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.5.tgz","fileCount":15,"unpackedSize":120110,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvpiKUzF2e5pdJmJiG3Cgn/547YgLRvg8bETxyqQIBwAiAYRUsiwXl+p0VOMobQvP+9GGAFYLzQlsbl4NrkqqyCHg=="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.5_1705415730701_0.7610156268997832"},"_hasShrinkwrap":false},"1.0.6-candidate.0":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.6-candidate.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.6-candidate.0","gitHead":"0876a8626778c54d19b9812ba853436f24ea4c1a","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Ivu6d1xv60cCQLrAxgio64qkwrkaDrc+q0DDpZrqSuimrBIPwvnc/WEM47NoCNxHKdV7nIkyteWGtntdBmVCPA==","shasum":"2dd5f9288fb049234d199a29ed20bf69e5fd0674","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.6-candidate.0.tgz","fileCount":15,"unpackedSize":120397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH627R3lhpgN+Gea4Qoktk/pskyjSRfJ2YimXQByj6etAiA89NRHSq+jg30pxqMZc9s/QzMRj3Gv5jXDhkjsHeuosg=="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.6-candidate.0_1705415977251_0.30914814200430385"},"_hasShrinkwrap":false},"1.0.6-candidate.1":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.6-candidate.1","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.6-candidate.1","gitHead":"0876a8626778c54d19b9812ba853436f24ea4c1a","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-7XOhXnXcTq5fX7RnboswbxzTgFhOtKd1k0dki0zwEGbEHL3LW/XZknJ/7Jv2scZo0AARic+yNyXp6HyB+5bIwQ==","shasum":"e1ab6e7938750c5c65911ff4499dec157b115cf4","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.6-candidate.1.tgz","fileCount":15,"unpackedSize":120719,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUvh+wjpMs07mVoQ1IeIZss9ipmb1em9+p1Pl+oBIVHgIgL/SQROASZDCZDs8rd11mL9geshnwl3s7oB7M+e9f3sE="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.6-candidate.1_1705416131130_0.4749479590442187"},"_hasShrinkwrap":false},"1.0.7-candidate.0":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.7-candidate.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@nestjs/testing":"^10.3.0","@typegoose/typegoose":"^12.0.0","@types/jest":"^29.5.11","@types/lodash":"^4.14.202","jest":"^29.7.0","node":"^21.2.0","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","ts-jest":"^29.1.1","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.7-candidate.0","gitHead":"9449fec47bc5c68e6fee420926456a3a49a990cc","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-YmyjZCMCix+VQdu7o3T2wO/l01S8cPDS6JtpXutYUi130pc62fR/5nMUI/rl/u4N2dk/hiJ6pMAn+ZLIEU4G/g==","shasum":"6e4c8fac777727108383fec390eb0f879fc61ba2","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.7-candidate.0.tgz","fileCount":16,"unpackedSize":289431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPi01BLq5efUdPMtMtTBh/mMe1r7OSwTn8pq/bN/ORrAIgJLjliBhUP5KQeeEOZUGhz+tzzFadVs1MmIci+BrqUUo="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.7-candidate.0_1705430450048_0.18377522969018134"},"_hasShrinkwrap":false},"1.0.7":{"name":"@tyrissoftware/nestjs-permissions","version":"1.0.7","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@1.0.7","gitHead":"c5c528550f2d883f1448cf3a27cf05999e6b0849","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-JdLP1JN/jgq0kCNeAREol0129rw1q64YSHsMn8aWPXX/07VEHKaV4Zpq3Q3OUWH2TBHN1fVaorwfXwysGgsTqQ==","shasum":"4d35509ebe746faaa18549fd4ac6e66a62de71d0","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-1.0.7.tgz","fileCount":16,"unpackedSize":122605,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8Ltwe6Gg/xwgrt1+mxu1QIMOJrXH/T594gYpX252ToAiEAkDmv5G9+1C56ZwQb6uQtwZBB5hRFBOan0VZJQN0wtiQ="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_1.0.7_1705432299094_0.6596455788745574"},"_hasShrinkwrap":false},"2.0.0-candidate.0":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.0-candidate.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.0-candidate.0","gitHead":"aa22979a9b6c1de8c94eff9e40a22da38f6598a1","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-lwYejUzKDs8eWZMUOGIDhFns4fomXWS1YSVSv0fiB+ymyQp3j5VcXPbIS8i/U5Y50wRb1hcPXtv4efFglKpo7g==","shasum":"2f74e4cbf683ca33dbf6fcd723b1ae457ff44197","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.0-candidate.0.tgz","fileCount":16,"unpackedSize":127998,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkKA7ZHrzrJ9wvBZ6rn0kNOBVsG4mw27Q15HFcl7NuFAiEA0j1uvq4tvm6xBpxnn4oIpLq+4xGSn3cJt2No4s3AM30="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.0-candidate.0_1706169985606_0.5889036161211363"},"_hasShrinkwrap":false},"2.0.0-candidate.1":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.0-candidate.1","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.0-candidate.1","gitHead":"aa22979a9b6c1de8c94eff9e40a22da38f6598a1","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-XHwXg1BtnehDD020N/dBXsLUmNUyfp30tRY4Gror5mFyZaXmUtrcpcYYELxUeronlhBIgRS2VhueeEfy58we+A==","shasum":"f4a120b7edcc188139fc7d071d12d223ca0f3f5f","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.0-candidate.1.tgz","fileCount":16,"unpackedSize":128022,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbqI1L5M+gBLJ43zlF5KMOh9Gzuj/o/DobOuBLRaH2PQIhAIOkmAa5PIESEbH91tb/YWfwXhh2/dtAyOI683qwTl28"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.0-candidate.1_1706170298572_0.5971997248712868"},"_hasShrinkwrap":false},"2.0.0":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.0","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.0","gitHead":"74a7b7966ca3f2731af16900cf8d5047104ae712","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-wGAnZ0Mg39vvgRIZfzVdtVJqsET3bhRS9OpqWCADjLrbcRNQ3l5D/1rC5HSaBMKzN3o/CNC0ohcayfvDAt59xg==","shasum":"85467a522187b0ae948122db611a6c921b9017ac","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.0.tgz","fileCount":16,"unpackedSize":127217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbQzmhR3TjAhcuouO6coRcFGXX7/YjxGCrubMqd1zdoAiAffhz72kn/5og8Xlgbk8b9IGeegn89hZ8eMFwJiLjlyg=="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.0_1706173705402_0.1855353557971957"},"_hasShrinkwrap":false},"2.0.1":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.1","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.1","gitHead":"74a7b7966ca3f2731af16900cf8d5047104ae712","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-JrJojjFfZf09UYs+5EN0BeOXOX0TwyZ54zrc0WKHya0r39RUT809S7lrPpmsVZVaJJjF1FFFatJ5UY6mXp9VIg==","shasum":"acd11bdf2b0f401efaedf6e12b6fe11e9119b6b9","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.1.tgz","fileCount":16,"unpackedSize":131290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVAJEDu59OHwtertjOyoqtlsY4ZchNTrYlA+4nhecY3gIgEArdhJTGMJuliQfVgXGT10f0ZQ2Mh2KHyJB7nUTTrDI="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.1_1707210748130_0.9970004071528202"},"_hasShrinkwrap":false},"2.0.2":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.2","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.2","gitHead":"9c28c2b80b1aeff1807351306ccedc8cbacd8a62","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-p9CQyuOYq840HvaYczKup3YvohWgIKbV985kPE8TrGJ0SxHetKOx4p04WpoMTsY0Z+wcao3v27sB69JJYs785w==","shasum":"70bb25437d06e23bd78947f849732a7f87b9ef8f","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.2.tgz","fileCount":16,"unpackedSize":132322,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGyESwaz9ls90QjJBsc/YWLZ52vjt6ik0t9Ye/DsBX4WAiEAl4jX9taQ0lPtu5FT7ZjEx0eih85bubaQokuLbVjD8gY="}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.2_1707213582873_0.2758501442754422"},"_hasShrinkwrap":false},"2.0.3-candidate.2":{"name":"@tyrissoftware/nestjs-permissions","version":"2.0.3-candidate.2","description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","main":"./dist/index.js","scripts":{"lint":"eslint . --ext .ts --fix","compile":"node_modules/typescript/bin/tsc","clean":"rimraf ./dist","build":"run-s clean compile","prepublish":"npm run build","publish":"npm publish --access public"},"husky":{"hooks":{"pre-commit":"eslint . --ext .ts --fix","commit-msg":"npx --no-install commitlint --edit $1"}},"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"license":"MIT","dependencies":{"@nestjs/cache-manager":"^2.2.0","@nestjs/common":"^10.3.0","@nestjs/core":"^10.3.0","@nestjs/mongoose":"^10.0.2","lodash":"^4.17.21","mongoose":"^8.0.4"},"keywords":["Permissions","roles"],"devDependencies":{"@types/lodash":"^4.14.202","npm-run-all":"^4.1.5","rimraf":"^5.0.5","run":"^1.5.0","typescript":"^5.3.3"},"_id":"@tyrissoftware/nestjs-permissions@2.0.3-candidate.2","gitHead":"4573678733a8889b0fe6b5c3786e0ede9d9707af","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-epMwgEfFcyZ7Xc2J12ADiUfqpIgsEJRUfxb7Eiqv957i2/9f5zUqyt8cRIlM9rHnc/qpfbqY4m/YJs2ELqn+cw==","shasum":"f5d5e54d2d36d6f0bf65ec0f65af1c0b3239e645","tarball":"https://registry.npmjs.org/@tyrissoftware/nestjs-permissions/-/nestjs-permissions-2.0.3-candidate.2.tgz","fileCount":16,"unpackedSize":139002,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7xFv5d9QGZrpzd6SWSu7ucxcI/ouUBkJ0HRt+53+nzQIhAIc9aKza+ScB5jq0OikjqOET7WxI9o271WOq1KlSbLov"}]},"_npmUser":{"name":"dlopezg","email":"david.lopez@tyris-software.com"},"directories":{},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-permissions_2.0.3-candidate.2_1713950787089_0.6175701854821003"},"_hasShrinkwrap":false}},"maintainers":[{"name":"tyris-sysadmin","email":"sysadmin@tyris-software.com"},{"name":"dlopezg","email":"david.lopez@tyris-software.com"}],"description":"Extension library for ACL in NestJS","homepage":"https://github.com/tyrissoftware/nestjs-permissions","keywords":["Permissions","roles"],"repository":{"type":"git","url":"git+https://github.com/tyrissoftware/nestjs-permissions.git"},"author":{"name":"Tyris TV S.L."},"bugs":{"url":"https://github.com/tyrissoftware/nestjs-permissions/issues"},"license":"MIT","readme":"# nestjs-permissions\n\n![GIT](https://img.shields.io/badge/GIT-black?style=for-the-badge&logo=GIT&logoColor=F05032)![JS](https://img.shields.io/badge/JAVASCRIPT-black?style=for-the-badge&logo=JavaScript&logoColor=F7DF1E)![TS](https://img.shields.io/badge/TYPESCRIPT-black?style=for-the-badge&logo=TypeScript&logoColor=3178C6)\n\nThis library is extends Permission Roles in NestJS to ACL. For now, only works on MongoDB\n\n## How to use\nYou need:\nSchema `user` with the role Id(s) of the user (the permissions are aggregated):\n```typescript\n@Schema()\nexport class User {\n...\n    roles: roleId | roleId[]\n}\n```\nSchema `role` with the actionIds allowed in the `permissions` property\n```typescript\n@Schema()\nexport class Role  {\n...\n    permissions: Permission[]\n}\n```\n\nCreate a Guard in your project, with inherits from PermissionsGuardBase\n```typescript\n@Injectable()\nexport class PermissionsGuard extends PermissionsGuardBase implements CanActivate {\n    constructor(reflector: Reflector, @InjectModel(User.name) userModel: Model<User>) {\n        super(reflector, userModel as Model<unknown>, \n            {\n                roleModelName: Role.name, \n                rolePath: \"roles\", \n                permissionsProperty: \"permissions\"\n            }\n        )\n    }\n}\n```\nyou need to pass the `reflector`, `mongoose model of users`  and the `IConfig` with the properties of your database\nAdd it to your `app.module` on `providers`\n```typescript\n        {\n            provide: APP_GUARD,\n            useClass: PermissionsGuard\n        }\n```\n\nso, this is an example in your DB:\n\n* User:\n```json\n[\n    {\n        \"_id\": 1,\n        \"username\": \"test1\",\n        \"password\": \"x\",\n        \"roles\":[\"a\",\"b\"]\n    },\n    {\n        \"_id\": 2,\n        \"username\": \"test2\",\n        \"password\": \"x\",\n        \"roles\":[\"a\"]\n    },\n    {\n        \"_id\": 3,\n        \"username\": \"test3\",\n        \"password\": \"x\",\n        \"roles\":[\"b\"]\n    }\n]\n```\n* Role:\n```json\n[\n    {\n        \"_id\": \"a\",\n        \"name\": \"role a\",\n        \"permissions\": [\n            {\n                \"action\": \"gett\",\n                \"entity\": \"test\"\n            }]\n    },\n    {\n        \"_id\": \"b\",\n        \"name\": \"role b\",\n        \"permissions\": [\n            {\n                \"action\": \"putt\",\n                \"entity\": \"test\"\n            }]\n    }\n]\n```\n\nUse the decorator `@Permissions(IRolePermission)` to mark what permission needs an endpoint:\n```typescript\n@Controller(\"test\")\nexport class TestController {\n @Get()\n @Permissions({ \"action\": \"gett\", \"entity\": \"test\"})\n async getAllowed() {\n     return \"you have the right permission for get\";\n }\n @Put()\n @Permissions({ \"action\": \"putt\", \"entity\": \"test\"})\n async putAllowed() {\n     return \"you have the right permission for put\";\n }\n}\n```\nSo, if you configure all properly, user \"test1\" can access both endpoints. \"test2\" can access only to `getAllowed` and \"test3\" only can access to `putAllowed`\n\nyou can define your own actions and entities. It\"s good to use `enum` for them\n\n# CHANGELOG\n## 1.0.7\n    First working version\n## 2.0.0 \n    Cache support added \n## 2.0.1\n    verbose mode added\n## 2.0.2\n    fix when role is object, not array\n","readmeFilename":"README.md"}