w-web-perm 1.0.15 → 1.0.16
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.tmp +1 -1
- package/dist/js/{app-legacy.89b2aa20.js → app-legacy.d59bcc1e.js} +1 -1
- package/dist/js/{app-legacy.89b2aa20.js.map → app-legacy.d59bcc1e.js.map} +1 -1
- package/dist/w-web-perm.umd.js +2 -2
- package/dist/w-web-perm.umd.js.map +1 -1
- package/docs/WWebPerm.html +1 -1
- package/docs/WWebPerm.mjs.html +4 -3
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/server/WWebPerm.mjs +3 -2
package/docs/WWebPerm.html
CHANGED
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
<br class="clear">
|
|
926
926
|
|
|
927
927
|
<footer>
|
|
928
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:
|
|
928
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:34:06 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
929
929
|
</footer>
|
|
930
930
|
|
|
931
931
|
<script>prettyPrint();</script>
|
package/docs/WWebPerm.mjs.html
CHANGED
|
@@ -704,7 +704,7 @@ function WWebPerm(WOrm, url, db, getUserByToken, verifyBrowserUser, verifyAppUse
|
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
//grupsNames
|
|
707
|
-
let grupsNames = map(get(kur, 'grups', []), 'name')
|
|
707
|
+
let grupsNames = map(get(kur, 'grups', []), 'name') //kur.grups僅會提供isActive='y', 故grupsNames為有效權限群組名稱
|
|
708
708
|
grupsNames = join(grupsNames, ';')
|
|
709
709
|
|
|
710
710
|
return {
|
|
@@ -712,7 +712,8 @@ function WWebPerm(WOrm, url, db, getUserByToken, verifyBrowserUser, verifyAppUse
|
|
|
712
712
|
...userFind,
|
|
713
713
|
grupsNames,
|
|
714
714
|
},
|
|
715
|
-
kur,
|
|
715
|
+
// grups: get(kur, 'grups', []),
|
|
716
|
+
rules: get(kur, 'rules', []),
|
|
716
717
|
}
|
|
717
718
|
}
|
|
718
719
|
|
|
@@ -1159,7 +1160,7 @@ export default WWebPerm
|
|
|
1159
1160
|
<br class="clear">
|
|
1160
1161
|
|
|
1161
1162
|
<footer>
|
|
1162
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:
|
|
1163
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:34:06 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1163
1164
|
</footer>
|
|
1164
1165
|
|
|
1165
1166
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<br class="clear">
|
|
72
72
|
|
|
73
73
|
<footer>
|
|
74
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 24 2024 16:34:06 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
75
75
|
</footer>
|
|
76
76
|
|
|
77
77
|
<script>prettyPrint();</script>
|
package/package.json
CHANGED
package/server/WWebPerm.mjs
CHANGED
|
@@ -657,7 +657,7 @@ function WWebPerm(WOrm, url, db, getUserByToken, verifyBrowserUser, verifyAppUse
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
//grupsNames
|
|
660
|
-
let grupsNames = map(get(kur, 'grups', []), 'name')
|
|
660
|
+
let grupsNames = map(get(kur, 'grups', []), 'name') //kur.grups僅會提供isActive='y', 故grupsNames為有效權限群組名稱
|
|
661
661
|
grupsNames = join(grupsNames, ';')
|
|
662
662
|
|
|
663
663
|
return {
|
|
@@ -665,7 +665,8 @@ function WWebPerm(WOrm, url, db, getUserByToken, verifyBrowserUser, verifyAppUse
|
|
|
665
665
|
...userFind,
|
|
666
666
|
grupsNames,
|
|
667
667
|
},
|
|
668
|
-
kur,
|
|
668
|
+
// grups: get(kur, 'grups', []),
|
|
669
|
+
rules: get(kur, 'rules', []),
|
|
669
670
|
}
|
|
670
671
|
}
|
|
671
672
|
|