diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-06-21 17:56:03 +0100 |
---|---|---|
committer | Fabio Pitino <fpitino@gitlab.com> | 2019-07-11 10:26:53 +0200 |
commit | 1c42f748f8cac88692d3dca5470f74331e48b8d1 (patch) | |
tree | 4f77a7b5c9e088298112d6bf744c9d5bfcb93c12 /app/uploaders | |
parent | 0cd59a756cdee7aac8915f3e96ba4f065e5cbc9c (diff) | |
download | gitlab-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/uploaders')
0 files changed, 0 insertions, 0 deletions