Open jojo12 opened 5 years ago
Sorry I don't understand. When I am the creator of an event, I am already able to manage the attendees.
What I can read in the comment (// Check if user can edit events (admins and group members)) is that you want to change from creator-only to a group that is able to create those events?
How do you manage the attendees in Frontend? How do you export/print a attendeelist from Frontend? In my system I am the only admin, but 8 other users are event creators who should know who is attending, not attending,... They don't have the right to enter backend (for safety reasons).
I think, this is very important, because not all creators must have the right to enter backend. It needs a change in event/view.html.php
line 193 ff you change to: // Check if user can edit attendees //$isAuthor = $userId && ($userId == $item->created_by); //$permissions->canEditAttendees = $isAuthor; // Check if user can edit events (admins and group members) $permissions->canEditAttendees = $user->can('edit', 'event', $item->id, $item->created_by); `
And it's better to add an icon to the number, so it's easier to find this door to the attendeemanager.