* Ideas
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
var user = options.user;
|
var user = options.user;
|
||||||
|
var client = options.client;
|
||||||
|
|
||||||
function checkAcs(name, value) {
|
function checkAcs(name, value) {
|
||||||
return {
|
return {
|
||||||
|
SC : function secureConnection() {
|
||||||
|
return client.session.isSecure;
|
||||||
|
},
|
||||||
ID : function userId(value) {
|
ID : function userId(value) {
|
||||||
return user.userId === value;
|
return user.userId === value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user