nest-access-control
nest-access-control copied to clipboard
Role and Attribute based Access Control for Nestjs 🔐
By default if you have an unknown role the server throws an error: ```bash [Nest] 12948 - 2020-05-15 17:03:24 [ExceptionsHandler] Role not found: "ASDFASDF" +325454ms AccessControlError: Role not found: "ASDFASDF"...
First off, thanks for your work! I wanted to ask why in onury/accesscontrol the action also includes the possession, e.g. `create:any`, `read:own` and so on, while this package has separated...
Hi, how to connect this repo with CRUD (https://github.com/nestjsx/crud)? OWN / ANY is a problem displaying the profile. I would like ADMIN to be able to see all the profiles...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.2 to 2.1.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I saw in [ACGuard](https://github.com/nestjsx/nest-access-control/blob/master/src/access-control.guard.ts) that it is getting roles from user (user.roles), but i'm just using user.role. What can i do for the ACGuard to use just user.role?
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge`: avoid a crash with a null target and a truthy...