* 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;
|
||||
},
|
||||
NP : function numberOfPosts() {
|
||||
// :TODO: implement me!!!!
|
||||
return false;
|
||||
const postCount = parseInt(user.properties.post_count, 10);
|
||||
return !isNaN(value) && postCount >= value;
|
||||
},
|
||||
NC : function numberOfCalls() {
|
||||
// :TODO: implement me!!
|
||||
return false;
|
||||
const loginCount = parseInt(user.properties.login_count, 10);
|
||||
return !isNaN(value) && loginCount >= value;
|
||||
},
|
||||
SC : function isSecureConnection() {
|
||||
return client.session.isSecure;
|
||||
|
|
Loading…
Reference in New Issue