Ivan Greenking пре 1 година
родитељ
комит
b6e5e7da66
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      models.js

+ 4 - 0
models.js

@@ -28,6 +28,10 @@ module.exports = async (dbName='marketplace') => {
             static get guestRelations(){
                 return ["incomings"]
             }
+
+		async getACL(){
+		    return [this._id.toString(), "user"]
+		}
         }
         SlicedSavable.addClass(User)