Policies refactor, guest roles (#6732)
This commit is contained in:
@@ -59,6 +59,13 @@ import Length from "./validators/Length";
|
||||
}),
|
||||
as: "collection",
|
||||
},
|
||||
{
|
||||
association: "memberships",
|
||||
where: {
|
||||
userId,
|
||||
},
|
||||
required: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user