Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This function may mislead into incorrect validations. Usually you want to check that a user meets a threshold for any project, but that threshold may be configured differently for each project, and the user may also have different access levels in each project due to private projects assignment. In that scenario, $p_access_level can't be a static threshold, but a "threshold identifier" instead, that must be evaluated for each project. Function "access_has_any_project_level()" provides that functionality, also covers the basic usage of this function. For such reasons, this function has been deprecated. Fixes: #21654
- Loading branch information