Skip to content

Comments

(Fix) Unassign staff from tickets on demotion#5286

Open
OrbitMPGH wants to merge 1 commit intoHDInnovations:developmentfrom
OrbitMPGH:ticket-unassign-demoted-staff
Open

(Fix) Unassign staff from tickets on demotion#5286
OrbitMPGH wants to merge 1 commit intoHDInnovations:developmentfrom
OrbitMPGH:ticket-unassign-demoted-staff

Conversation

@OrbitMPGH
Copy link

Remove a user as an assignee from all their tickets when getting demoted from a staff user group.
This is to prevent notifications from tickets that they can no longer access.

Fixes #5281

Copy link
Collaborator

@Roardom Roardom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the way we want to go. It might be more desirable to check is_modo upon sending each notification instead of wiping out the staff's entire ticket history. I'll get back to you.

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