So just to confirm Yurii, I need to use a generic security context and implement server code?
I created a generic security context and went into the settings for my query service and selected the security context I created for the Security context field. However I haven't worked with security contexts before so my implementation code is just
pre
$t.Multilevel = $t.createClass(SecurityContext, {
invoke: function(service, settings) {
//Do any logic before call
$t.Multilevel.$super.invoke.call(this, service, settings);
//Do any logic after call
}
});
/pre
Does this code require any logic? And how do I change the response to multilevel?
Your help is much appreciated.