- aggiornati gli argomenti in base a GM
This commit is contained in:
@@ -695,6 +695,14 @@ UserSchema.statics.isEditor = function (perm) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
UserSchema.statics.isGrafico = function (perm) {
|
||||
try {
|
||||
return ((perm & shared_consts.Permissions.Grafico) ===
|
||||
shared_consts.Permissions.Grafico);
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
UserSchema.statics.isZoomeri = function (perm) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user