Ivan Greenking 1 year ago
parent
commit
b6e5e7da66
1 changed files with 4 additions and 0 deletions
  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)