Fix reference filters in group context
Why was this MR needed?
Since !18150 (merged) abstract reference filter supports also group
as a resource parent (not only project
). Some reference filters,
which inherit from abstract filter, depend on parent being project
when checking a reference.
This patch adds explicit check of parent class to the given filters. project
is renamed to parent_object
since it can be either project or
group`.
What are the relevant issue numbers?
gitlab-ee#5631
Edited by Jan Provaznik