@colearn/microservices-kit
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -20,3 +20,3 @@ "use strict"; | ||
isContentEditor() { | ||
return this.system === auth_1.SystemRole.ContentEditor; | ||
return this.system === auth_1.SystemRole.Contenteditor; | ||
} | ||
@@ -23,0 +23,0 @@ isParent() { |
@@ -15,3 +15,3 @@ import type { Request, Response, NextFunction } from 'express'; | ||
User = "user", | ||
ContentEditor = "contenteditor" | ||
Contenteditor = "contenteditor" | ||
} | ||
@@ -18,0 +18,0 @@ export declare function getSystemRole(scopes?: string[]): SystemRole | undefined; |
@@ -9,3 +9,3 @@ "use strict"; | ||
SystemRole["User"] = "user"; | ||
SystemRole["ContentEditor"] = "contenteditor"; | ||
SystemRole["Contenteditor"] = "contenteditor"; | ||
})(SystemRole = exports.SystemRole || (exports.SystemRole = {})); | ||
@@ -12,0 +12,0 @@ function getSystemRole(scopes) { |
{ | ||
"name": "@colearn/microservices-kit", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "colearn microservice kit", | ||
@@ -5,0 +5,0 @@ "author": "Colearn", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package