Skip to content

now student staff and program manager flags can edit event detials - #1777

Merged
BrianRamsay merged 2 commits into
developmentfrom
programDetailsBug
Aug 14, 2026
Merged

now student staff and program manager flags can edit event detials#1777
BrianRamsay merged 2 commits into
developmentfrom
programDetailsBug

Conversation

@MImran2002

@MImran2002 MImran2002 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Issue Description

Fixes issue:
An issue number was not created this is a hot fix as the PMs who are also CELTS Student Staff cannot edit event details. When in the meeting the PMs cannot edit event details as when clicking the button it turns grey.
This also fixes the users (isPM & isStudentStaff) getting deny access into create event page.

Changes

  • Updated canManageProgram(program) so CELTS Admins and CELTS Operations Team members can manage any program.
  • CELTS Student Staff members can manage a program only if they are assigned as a manager for that specific program.
  • Added managesProgram(program) to check whether a user manages a specific program.
  • Kept isProgramManager as a general property for checking whether a user manages at least one program.
  • Avoided using the general program manager cache for program-specific permission checks..

Testing

  • Checkout the branch programDetailsBug
  • make sure your user Zach Neil is a Program Manager and a Student Staff.
  • Switch to Zach Neil and go to Program Details and click the event Details button.
  • You will now be able to edit it.

…s can create event but notmal studentstaff can't unless they are either assigned to a program or is part of the operations team.
@BrianRamsay
BrianRamsay merged commit 25c9723 into development Aug 14, 2026
0 of 5 checks passed
@BrianRamsay
BrianRamsay deleted the programDetailsBug branch August 14, 2026 16:51
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.

2 participants