Comparing version 0.2.9 to 0.2.10
@@ -21,3 +21,3 @@ "use strict"; | ||
const current = new PermissionCore(); | ||
current.setParts(permission.value); | ||
current.setParts(permission.name); | ||
if (current.implies(target)) { | ||
@@ -24,0 +24,0 @@ return next(); |
@@ -0,1 +1,10 @@ | ||
## [0.2.10](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/compare/v0.2.9...v0.2.10) (2020-12-24) | ||
### Bug Fixes | ||
* update kauth-sdk-node 0.1.6 ([91873b7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/commit/91873b7292c6fc838de2db1e2137fe405c2bc2ed)) | ||
## [0.2.9](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/compare/v0.2.8...v0.2.9) (2020-10-29) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "egg-kauth", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "egg kauth plugin", | ||
@@ -31,3 +31,3 @@ "eggPlugin": { | ||
"dependencies": { | ||
"kauth-sdk-node": "^0.1.5" | ||
"kauth-sdk-node": "^0.1.6" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
25236
Updatedkauth-sdk-node@^0.1.6