Merge branch 'patch-43' into 'master'

Update comment about legacy pipeline triggers

See merge request gitlab-org/gitlab-ce!24998
This commit is contained in:
Dmitriy Zaporozhets 2019-02-08 09:18:19 +00:00
commit a5561e7434

View file

@ -160,7 +160,8 @@ module Auth
##
# We still support legacy pipeline triggers which do not have associated
# actor. New permissions model and new triggers are always associated with
# an actor, so this should be improved in 10.0 version of GitLab.
# an actor. So this should be improved once
# https://gitlab.com/gitlab-org/gitlab-ce/issues/37452 is resolved.
#
def build_can_push?(requested_project)
# Build can push only to the project from which it originates