I am trying to get module name in app:sync:complete .
i tried
(function(app) {
app.events.on("app:sync:complete", function() {
var acls = app.user.getAcls();
acls.fpalt_FPalTickets.create = 'no';
var self = this;
console.log('module',app);
//console.log("online 14: ",acls);
app.user.set("acls", acls);
//acls.
console.log('module',app.module);
console.log('module',acls.module);
});
})(SUGAR.App);
but it not working , how can i can current module name
.....
i also tried