Skip to content

Update a user highest role when removed from group

Vijay Hawoldar requested to merge vij-fix-update-highest-role into master

What does this MR do?

As discussed in #330057 (closed), currently when a user is removed from a group or project (and the corresponding Member record is destroyed), their highest role is not updated.

This is because we only check if the access level has changed when determining whether or not to queue the worker.

This MR fixes that by also allowing the queuing of the job if the member is destroyed.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Vijay Hawoldar

Merge request reports