forked from community/product-iots
parent
d04f8a22b7
commit
f435d6d1b4
@ -1,3 +1,6 @@
|
||||
function onRequest(context){
|
||||
var userModule = require("/modules/user.js").userModule;
|
||||
var permissions = userModule.getUIPermissions();
|
||||
context.permissions = permissions;
|
||||
return context;
|
||||
}
|
||||
|
Loading…
Reference in new issue