gitlab-org--gitlab-foss/changelogs/unreleased/tc-refactor-projects-finder-init-collection.yml
Toon Claes b90f1098cf Add User#full_private_access? to check if user has Private access
In CE only the admin has access to all private groups & projects. In EE also an
auditor can have full private access.

To overcome merge conflicts, or accidental incorrect access rights, abstract
this out in `User#full_private_access?`.

`User#admin?` now only should be used for admin-only features. For private
access-related features `User#full_private_access?` should be used.

Backported from gitlab-org/gitlab-ee!2199
2017-06-23 11:15:35 +02:00

4 lines
131 B
YAML

---
title: Add User#full_private_access? to check if user has access to all private groups & projects
merge_request: 12373
author: