diff options
| author | Shinya Maeda <shinya@gitlab.com> | 2017-11-07 02:47:05 +0900 |
|---|---|---|
| committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-07 02:47:05 +0900 |
| commit | afef38533727cf32a7be324243a25b4db5eb5498 (patch) | |
| tree | cfdd2c96bd0c1a7ee1fd85f0b63fd2edf0d1fe3f /lib/api/v3 | |
| parent | cb5e35d562a1bf0737c1ad3316c3723775fada01 (diff) | |
| download | gitlab-ce-afef38533727cf32a7be324243a25b4db5eb5498.tar.gz | |
Add doc. Fix spec. Add erase_build in protected_ref rule
Diffstat (limited to 'lib/api/v3')
| -rw-r--r-- | lib/api/v3/builds.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/v3/builds.rb b/lib/api/v3/builds.rb index 1c0f9f73c78..fa0bef39602 100644 --- a/lib/api/v3/builds.rb +++ b/lib/api/v3/builds.rb @@ -169,7 +169,6 @@ module API authorize_update_builds! build = get_build!(params[:build_id]) - authorize!(:update_build, build) authorize!(:erase_build, build) return forbidden!('Build is not erasable!') unless build.erasable? |
