mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
can:update,meetupEvent
This commit is contained in:
@@ -44,6 +44,10 @@ class MeetupEventForm extends Component
|
||||
->addHours(17),
|
||||
]
|
||||
);
|
||||
} elseif (!auth()
|
||||
->user()
|
||||
->can('update', $this->meetupEvent)) {
|
||||
abort(403);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user