소스 검색

no access with user acl

Ivan Asmer 3 년 전
부모
커밋
7ca02c3b57
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
             }