I just hit a spot in an app it would have been very helpful to know if logged in user was in a certain security group before making a server call. I wanted to limit a print (to PDF) function to just HR and not shopfloor or other users. The call to util.Helper.download does not seem to allow me to return a msg saying "not authorized". I'd have to make AJAX call and get that info from server before determining whether to make that call to download. Alternatively, allowing a Success/Failure response to download would also work. But I suspect that might be difficult.
Announcement
Collapse
No announcement yet.
[ANSWERED] Front end App or Helper that works like vv_Secure.isMember
Collapse
X
Comment