Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: access control refactor for user password enforement #148

Merged
merged 1 commit into from
Feb 5, 2024

feat: access control refactor for user password enforement

a0a7166
Select commit
Loading
Failed to load commit list.
Merged

feat: access control refactor for user password enforement #148

feat: access control refactor for user password enforement
a0a7166
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Feb 2, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- packages/nestjs-user/src/user.controller.pw.e2e-spec.ts  2
- packages/nestjs-access-control/src/enums/action.enum.spec.ts  1
- packages/nestjs-access-control/src/access-control.context.spec.ts  1
- packages/nestjs-access-control/src/decorators/access-control-query.decorator.spec.ts  1
- packages/nestjs-access-control/src/decorators/access-control-query.decorator.ts  1
- packages/nestjs-user/src/services/user-password.service.ts  5
- packages/nestjs-access-control/src/enums/possession.enum.spec.ts  1
- packages/nestjs-user/src/services/user-access-query.service.ts  4
- packages/nestjs-access-control/src/access-control.context.ts  4
- packages/nestjs-access-control/src/access-control.module-definition.ts  1
- packages/nestjs-password/src/config/password-default.config.ts  1
- packages/nestjs-access-control/src/access-control.guard.ts  3
         

Complexity decreasing per file
==============================
+ packages/nestjs-access-control/src/decorators/access-control-read-one.decorator.ts  -1
+ packages/nestjs-access-control/src/decorators/access-control-delete-one.decorator.ts  -1
+ packages/nestjs-access-control/src/decorators/access-control-update-one.decorator.ts  -1
+ packages/nestjs-access-control/src/decorators/access-control-read-many.decorator.ts  -1
+ packages/nestjs-access-control/src/decorators/access-control-create-one.decorator.ts  -1
         

Clones added
============
- packages/nestjs-user/src/user.controller.pw.e2e-spec.ts  5
- packages/nestjs-access-control/src/access-control.context.spec.ts  2
- packages/nestjs-access-control/src/access-control.module-definition.ts  1
         

Clones removed
==============
+ packages/nestjs-user/src/user.controller.e2e-spec.ts  -2
+ packages/nestjs-access-control/src/decorators/access-control-recover-one.decorator.spec.ts  -9
+ packages/nestjs-access-control/src/decorators/access-control-create-many.decorator.spec.ts  -5
+ packages/nestjs-access-control/src/decorators/access-control-replace-one.decorator.spec.ts  -5
+ packages/nestjs-access-control/src/decorators/access-control-read-one.decorator.ts  -3
+ packages/nestjs-access-control/src/decorators/access-control-delete-one.decorator.ts  -2
+ packages/nestjs-access-control/src/decorators/access-control-read-one.decorator.spec.ts  -5
+ packages/nestjs-access-control/src/decorators/access-control-update-one.decorator.ts  -5
+ packages/nestjs-access-control/src/decorators/access-control-update-one.decorator.spec.ts  -21
+ packages/nestjs-access-control/src/decorators/access-control-read-many.decorator.ts  -2
+ packages/nestjs-access-control/src/decorators/access-control-create-one.decorator.spec.ts  -5
+ packages/nestjs-access-control/src/decorators/access-control-delete-one.decorator.spec.ts  -3
+ packages/nestjs-access-control/src/decorators/access-control-read-many.decorator.spec.ts  -5
+ packages/nestjs-access-control/src/access-control.guard.spec.ts  -2
+ packages/nestjs-password/src/services/password-creation.service.ts  -3
+ packages/nestjs-password/src/interfaces/password-creation-service.interface.ts  -1
         

See the complete overview on Codacy