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