Skip to content

Refactor SSO enforcement related code

Bogdan Denkovych requested to merge bdenkovych-follow-up-for-issue-405021 into master

What does this MR do and why?

Related to #405021 (closed), !115254 (comment 1343154411)

This MR is the last among others !117389 (merged), !117582 (merged), !118400 (merged), !118562 (merged), !118596 (merged) to prevent spreading SSO enforcement logic in the codebase. This MR extracts the remaining code to Gitlab::Auth::GroupSaml::SsoEnforcer class.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Bogdan Denkovych

Merge request reports

Loading