Procházet zdrojové kódy

no access with user acl

Ivan Asmer před 3 roky
rodič
revize
7ca02c3b57
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -445,7 +445,7 @@ const mm = db => {
             populate(obj){ //place to check read permission
                 //console.log(obj)
                 if (!this.___permissionCan('read', obj.___permissions, obj)){
-                    throw new ReferenceError(`No Access To Entity ${this._id} of class ${this._class}`)
+                    throw new ReferenceError(`No Access To Entity ${this._id} of class ${this._class} for acl ${userACL}`)
                 }
                 super.populate(obj)
             }