Files
gitlabhq/app/models
Kamil Trzcinski 447f1e30db Limit guest access builds
This solves https://dev.gitlab.org/gitlab/gitlabhq/issues/2646

1. 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
    - admin_build: allows to manage triggers, runners and variables
    - read_commit_status: allows to read a list of commit statuses (including the status of a build, but doesn't allow to see a build details)
    - create_commit_status: allows to create a new commit status using API

2. I do make sure that the proper permissions are used in all places where the CI can be shown.

3. Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.

4. Add CI setting: public_builds.

5. The artifacts specific permission are removed, since they are covered by `*_build`.
2016-02-08 20:27:24 +01:00
..
2011-10-09 00:36:38 +03:00
2016-02-08 20:27:24 +01:00
2015-08-03 01:52:54 +09:00
2015-12-02 10:54:24 +01:00
2015-05-03 13:38:27 -07:00
2015-04-03 12:28:47 +02:00
2016-01-06 13:09:55 +00:00
2016-01-06 13:09:55 +00:00
2016-01-12 12:29:10 -02:00
2015-12-18 14:19:48 -06:00
2015-08-04 14:33:18 +02:00
2014-08-25 12:25:02 +03:00
2015-12-07 16:57:26 -05:00
2015-12-08 21:00:01 -08:00
2015-12-08 21:00:01 -08:00
2016-01-06 13:09:55 +00:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-11-13 19:22:46 +01:00
2015-08-03 01:52:54 +09:00
2015-03-16 21:38:41 +02:00
2016-01-14 12:09:31 -02:00