corefwnode 3.0.5 → 3.0.6
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/lib/CfwObject.js +3 -3
- package/package.json +1 -1
package/lib/CfwObject.js
CHANGED
|
@@ -586,7 +586,7 @@ module.exports = class CfwObject
|
|
|
586
586
|
|
|
587
587
|
if (me.functionNameGlob !== false)
|
|
588
588
|
{
|
|
589
|
-
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob].insertAction === 0)
|
|
589
|
+
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob.toLowerCase()].insertAction === 0)
|
|
590
590
|
{
|
|
591
591
|
throw (ErrorCodes.error('no_privilage'));
|
|
592
592
|
}
|
|
@@ -1291,7 +1291,7 @@ module.exports = class CfwObject
|
|
|
1291
1291
|
|
|
1292
1292
|
if (me.functionNameGlob !== false)
|
|
1293
1293
|
{
|
|
1294
|
-
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob].deleteAction === 0)
|
|
1294
|
+
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob.toLowerCase()].deleteAction === 0)
|
|
1295
1295
|
{
|
|
1296
1296
|
throw (ErrorCodes.error('no_privilage'));
|
|
1297
1297
|
}
|
|
@@ -1455,7 +1455,7 @@ module.exports = class CfwObject
|
|
|
1455
1455
|
|
|
1456
1456
|
if (me.functionNameGlob !== false)
|
|
1457
1457
|
{
|
|
1458
|
-
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob].updateAction === 0)
|
|
1458
|
+
if (me.lib.acl[me.aclGroupId][me.objectNameGlob][me.functionNameGlob.toLowerCase()].updateAction === 0)
|
|
1459
1459
|
{
|
|
1460
1460
|
throw (ErrorCodes.error('no_privilage'));
|
|
1461
1461
|
}
|