discourse/plugins/discourse-calendar/spec/services
Régis Hanol 26e689ff8c
FIX: allow event creators to manage invitees (#38966)
Previously, `can_act_on_invitee?` only allowed staff or the invitee
themselves to update/remove an RSVP. This meant event creators and
organizers (e.g. group facilitators with category moderator permissions)
could not manage their own event's attendee list — only global
moderators or admins could.

This updates the guardian check to also allow users who
`can_act_on_discourse_post_event?` (i.e. users in the allowed event
groups who can edit the event post) to act on invitees. The redundant
`staff?` check is removed since `can_act_on_discourse_post_event?`
already checks for staff.

https://meta.discourse.org/t/335780
2026-03-31 11:36:59 +02:00
..
discourse_post_event FIX: allow event creators to manage invitees (#38966) 2026-03-31 11:36:59 +02:00
discouse-calendar DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00