Skip to content

Avoid double controller response

What does this MR do and why?

When the ui_for_organizations feature flag is disabled access_denied! can be called twice, producing multiple responses. This MR ensures we only produce a single response.

MR acceptance checklist

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

Closes #420689 (closed)

Edited by Alex Pooley

Merge request reports

Loading