ponch-mcp-server 1.0.72 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6260,6 +6260,7 @@ function getWrapperMessage(key, locale) {
|
|
|
6260
6260
|
return msg;
|
|
6261
6261
|
}
|
|
6262
6262
|
function hasRequiredRole(userRol, required) {
|
|
6263
|
+
if (userRol === "super_admin") return true;
|
|
6263
6264
|
if (required.includes("*")) return true;
|
|
6264
6265
|
return required.includes(userRol);
|
|
6265
6266
|
}
|