gitlab-org--gitlab-foss/spec
Kamil Trzcinski 055afab5c7 Make the CI permission model simpler
This MR simplifies CI permission model:
- read_build: allows to read a list of builds, artifacts and trace
- update_build: allows to cancel and retry builds
- create_build: allows to create builds from gitlab-ci.yml (not yet implemented)
- admin_build: allows to manage triggers, runners and variables
- read_commit_status: allows to read a list of commit statuses (including the overall of builds)
- create_commit_status: allows to create a new commit status using API

Remove all extra methods to manage permission.
Made all controllers to use explicitly the new permissions.
2016-02-02 09:18:08 +01:00
..
benchmarks Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
controllers Move blame group logic to dedicated class 2016-01-28 14:49:21 +01:00
factories Update commit status factory to reflect recent changes 2016-01-26 15:23:57 +01:00
features Merge branch 'rs-2fa-requirement-wording' into 'master' 2016-01-27 19:04:44 +00:00
finders remove public field from namespace and refactoring 2016-01-04 16:00:29 +02:00
fixtures Render sanitized SVG images 2016-02-01 18:25:32 +01:00
helpers Fix specs and add a new one 2016-01-30 12:53:12 +01:00
initializers Ensure Gravatar host looks like an actual host 2016-01-18 14:58:16 +01:00
javascripts Allow manual resize of js-autosize textareas 2016-02-01 17:00:03 -05:00
lib Merge branch 'rename-inline-diff' into 'master' 2016-01-31 03:04:33 +00:00
mailers Added X-GitLab-... headers to emails from CI and Email On Push services 2016-01-19 20:18:39 +02:00
models Merge branch 'merge-request-closes-issues-performance' into 'master' 2016-02-01 15:32:58 -05:00
requests Make the CI permission model simpler 2016-02-02 09:18:08 +01:00
routing Increase the minimum length for commit SHA matching to 7 2016-01-29 19:52:29 -05:00
services Fix Rubocop error 2016-01-28 14:44:45 -05:00
support Increase the minimum length for commit SHA matching to 7 2016-01-29 19:52:29 -05:00
tasks/gitlab Add lfs to backup specs. 2015-11-19 10:43:45 +01:00
views/help Allow non-admin users to see version information 2015-09-23 17:18:15 -04:00
workers Write to InfluxDB directly via UDP 2015-12-29 14:53:45 +01:00
factories.rb Unsubscribe from thread through link in email footer 2016-01-09 12:41:22 +01:00
factories_spec.rb
rails_helper.rb Started on the actual rspec 3 upgrade 2015-06-22 12:12:49 +02:00
spec_helper.rb Add temporary monkey patch to get specs passing on 4.2.5.1 2016-01-25 14:53:28 -08:00
teaspoon_env.rb teaspoon install 2015-05-28 18:22:32 -04:00