Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 9ab4e7e

Browse files
committed
feat(ui/axiom/users): add events relationship
1 parent 59990a1 commit 9ab4e7e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libs/db/collections/models/Users.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,15 @@ export const Users: CollectionConfig = {
324324
update: isOrganizer || isSuperAdmin,
325325
},
326326
},
327+
{
328+
name: "events",
329+
type: "relationship",
330+
relationTo: "events",
331+
access:{
332+
create: isOrganizer || isSuperAdmin,
333+
update: isOrganizer || isSuperAdmin,
334+
},
335+
},
327336
{
328337
name: "group",
329338
type: "relationship",

0 commit comments

Comments
 (0)