From bae2e788e19895eaffac2202458a83b2b2b13e1e Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Tue, 10 Nov 2015 23:16:14 -0700 Subject: [PATCH] * Ideas --- misc/acs_parser.pegjs | 4 ++++ 1 file changed, 4 insertions(+) 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; }