Skip to content

Commit

Permalink
feat(authentication-service): LB4-Authorization dependancy upgrade (#92)
Browse files Browse the repository at this point in the history
* feat(authentication-service): casbin integration

BREAKING CHANGE:
Loopback4-authorization authorize metadata changes

RPMS-413

* fix(authentication-service): removed code smells

RPMS-413

* fix(authentication-service): code smells, and added name attribute to entity

RPMS-413

* feat(authentication-service): update lb4-authorization to 3.1.1

Updated controller authorize decorator

RPMS-413

* feat(core): updated project dependencies, resolved test script issues

Updated loopback4-authorization to 3.1.1, and added loopback/metadata in in-mail and video
conferencing services, as test cases were failing.



RPMS-413

Co-authored-by: Mudassir Lakdawala <[email protected]>
  • Loading branch information
mlakdawala-sf and mlakdawala authored Nov 14, 2020
1 parent 7656670 commit 6541ad1
Show file tree
Hide file tree
Showing 58 changed files with 5,045 additions and 2,495 deletions.
388 changes: 365 additions & 23 deletions packages/core/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"@loopback/core": "^2.7.0",
"@loopback/repository": "^2.5.1",
"@loopback/rest": "^5.0.1",
"@loopback/service-proxy": "^2.3.4",
"@loopback/service-proxy": "^2.2.6",
"i18n": "^0.10.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.19",
"logform": "^2.1.2",
"loopback-datasource-juggler": "^4.21.2",
"loopback4-authentication": "^4.0.1",
"loopback4-authorization": "^2.3.2",
"loopback4-authorization": "3.1.1",
"loopback4-helmet": "^1.0.3",
"loopback4-ratelimiter": "^1.0.0",
"loopback4-soft-delete": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/components/bearer-verifier/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ export interface IAuthUserWithPermissions<
tenantId?: TID;
userTenantId?: UTID;
passwordExpiryTime?: Date;
allowedResources?: string[];
}
Loading

0 comments on commit 6541ad1

Please sign in to comment.