[Patch proposed] Social Event Invite throws 403 if Organizer isn't enrolled in the event.

Created on 4 March 2024, 9 months ago

Problem/Motivation

Social Event Invite throws 403 if Organizer isn't enrolled in the event.

Steps to reproduce

1. Create Event
2. Do not enroll
3. Try to Invite users via email

Proposed resolution

profiles/contrib/social/modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteEmailForm.php:293
InviteAccess() runs social_event_manager_or_organizer(), but doesn't pass $node as a parameter for check, thus - false positive 403 unless organizer is enrolled.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

12.2

Component

Other

Created by

πŸ‡ΊπŸ‡¦Ukraine 32i

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024