gitlab-org--gitlab-foss/lib/api
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
..
api.rb
api_guard.rb
branches.rb
builds.rb
commit_statuses.rb
commits.rb
deploy_keys.rb
entities.rb Merge branch 'master' into ci/api-triggers 2016-01-14 21:58:17 +01:00
files.rb
group_members.rb
groups.rb
helpers.rb
internal.rb
issues.rb
keys.rb
labels.rb
merge_requests.rb
milestones.rb
namespaces.rb
notes.rb
project_hooks.rb
project_members.rb
project_snippets.rb
projects.rb
repositories.rb
services.rb
session.rb
settings.rb
system_hooks.rb
tags.rb
triggers.rb
users.rb
variables.rb