• Yorick Peterse's avatar
    Removed User#project_relations · 3b76b73a
    Yorick Peterse authored
    GitLab EE adds an extra relation that selects a "project_id" column
    instead of an "id" column, making it very hard for this method to be
    re-used in EE. Since using User#authorized_groups in
    ProjectsFinder#all_groups apparently has no performance impact we can
    just use it and keep everything compatible with EE.
    3b76b73a
projects_finder.rb 1.73 KB