* Update ACS parser PEG.js script to include some missing functionality
* Regenerate acs_parser.js with latest pegjs & new rules
This commit is contained in:
parent
79c1ad6ce6
commit
9a2b48ac47
1666
core/acs_parser.js
1666
core/acs_parser.js
File diff suppressed because it is too large
Load Diff
|
@ -44,12 +44,12 @@
|
||||||
return client.node === value;
|
return client.node === value;
|
||||||
},
|
},
|
||||||
NP : function numberOfPosts() {
|
NP : function numberOfPosts() {
|
||||||
// :TODO: implement me!!!!
|
const postCount = parseInt(user.properties.post_count, 10);
|
||||||
return false;
|
return !isNaN(value) && postCount >= value;
|
||||||
},
|
},
|
||||||
NC : function numberOfCalls() {
|
NC : function numberOfCalls() {
|
||||||
// :TODO: implement me!!
|
const loginCount = parseInt(user.properties.login_count, 10);
|
||||||
return false;
|
return !isNaN(value) && loginCount >= value;
|
||||||
},
|
},
|
||||||
SC : function isSecureConnection() {
|
SC : function isSecureConnection() {
|
||||||
return client.session.isSecure;
|
return client.session.isSecure;
|
||||||
|
|
Loading…
Reference in New Issue