Delegate to Allowable module
What does this MR do and why?
This change extracts a method called can_all?
from the Graphql::Authorize::ObjectAuthorization
into the Gitlab::Allowable
module to centralize different types (i.e. #can?
, #can_any?
, #can_all?
) of ability checks into a single cohesive location.
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.