Skip to content

Fix `Group#owned_by?` and `#has_user?` methods to handle nil

Omar Qunsul requested to merge fix-group-owned_by into master

What does this MR do and why?

Addressing: https://gitlab.com/gitlab-com/sec-sub-department/section-sec-request-for-help/-/issues/179 (internal)

Closes #437123 (closed)

Fix Group#owned_by? and Group/ProjectTeam#has_user? methods to handle nil

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Bogdan Denkovych

Merge request reports