Skip to content

invite date-pending enrollments to invite_all conferences - #2654

Open
ffdixon wants to merge 1 commit into
instructure:masterfrom
ffdixon:fix-conference-invite-all-pre-start-course
Open

invite date-pending enrollments to invite_all conferences#2654
ffdixon wants to merge 1 commit into
instructure:masterfrom
ffdixon:fix-conference-invite-all-pre-start-course

Conversation

@ffdixon

@ffdixon ffdixon commented Jul 21, 2026

Copy link
Copy Markdown

Conferences created before a course start date silently dropped all invitees because participating_users filters by enrollment_states.state = 'active', while students remain pending_active until the course start date. Since the start date transition updates only enrollment_states (not enrollments.workflow_state), conference synchronization is never re-triggered. Use the active_or_pending_by_date scope instead; the existing :join policy still prevents access until the course is readable.

fixes gh-2653
flag=none

test plan:

  • create a course with a future start date and "students can only participate between these dates"
  • enroll students, create a conference inviting all course members
  • confirm students appear as conference invitees
  • enroll another student before the start date; confirm they are added to the conference
  • conclude a student; confirm they are not invited

conferences created before a course start date silently
dropped all invitees: participating_users filters by
enrollment_states.state = 'active', and students are
'pending_active' until the start date passes - an event
that never re-triggers conference sync. use the
active_or_pending_by_date scope instead; the :join policy
still blocks access until the course is readable.

fixes instructuregh-2653
flag=none

test plan:
- create a course with a future start date and
  "students can only participate between these dates"
- enroll students, create a conference inviting all
  course members
- confirm students appear as conference invitees
- enroll another student before the start date; confirm
  they are added to the conference
- conclude a student; confirm they are not invited

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Jul 21, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conferences with "Invite all course members" never add students when the course has a start date

2 participants