diff --git a/misc/acs_parser.pegjs b/misc/acs_parser.pegjs index dae65a67..7d4fc5ff 100644 --- a/misc/acs_parser.pegjs +++ b/misc/acs_parser.pegjs @@ -1,9 +1,13 @@ { var user = options.user; + var client = options.client; function checkAcs(name, value) { return { + SC : function secureConnection() { + return client.session.isSecure; + }, ID : function userId(value) { return user.userId === value; }