Ivan Asmer 4 vuotta sitten
vanhempi
commit
4b4036df28
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      index.js

+ 1 - 0
index.js

@@ -444,6 +444,7 @@ const mm = db => {
 
 
             async save(noSync=false){
+                console.log(userACL)
                 if (!this._id && !this.___permissionCan('create'))
                     throw new ReferenceError(`Permissison denied Create Entity of class ${this._class}`)
                 if (this._id && !this.___permissionCan('write'))