Skip to content

Check if the request responds to `current_user`

Mehmet Emin INAC requested to merge fix_threath_management_entities into master

What does this MR do and why?

request object can be either nil or an instance of EntityRequest. If the former then it does not respond to current_user and if the latter it may or may not respond to current_user therefore we need to check if the object responds to current_user or not.

Related to !106992 (merged).

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 Mehmet Emin INAC

Merge request reports

Loading