summaryrefslogtreecommitdiff
path: root/app/controllers/google_api
diff options
context:
space:
mode:
authorFabio Pitino <fpitino@gitlab.com>2019-06-21 17:56:03 +0100
committerFabio Pitino <fpitino@gitlab.com>2019-07-11 10:26:53 +0200
commit1c42f748f8cac88692d3dca5470f74331e48b8d1 (patch)
tree4f77a7b5c9e088298112d6bf744c9d5bfcb93c12 /app/controllers/google_api
parent0cd59a756cdee7aac8915f3e96ba4f065e5cbc9c (diff)
downloadgitlab-ce-1c42f748f8cac88692d3dca5470f74331e48b8d1.tar.gz
Don't display badges when builds are restricted
Badges were leaked to unauthorized users even when Public Builds project setting is disabled. Added guard clause to the controller to check if user can read build.
Diffstat (limited to 'app/controllers/google_api')
0 files changed, 0 insertions, 0 deletions