summaryrefslogtreecommitdiff
path: root/app/policies/ci
Commit message (Collapse)AuthorAgeFilesLines
* Allow to make builds soft-archived.disallow-retry-of-old-buildsKamil Trzciński2018-11-051-1/+6
| | | | | The soft-archived builds cannot be run after some deadline time. The intent is to aggressively recycle old builds after sometime.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable frozen string in presenters and policiesrepo-forks/gitlab-ce-frozen-string-enable-app-presentersgfyoung2018-07-245-0/+10
| | | | | | | | | Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
* Web Terminal Ci BuildFrancisco Javier López2018-07-051-0/+6
|
* Rephrase "maintainer" to more precise "members who can merge to the target ↵42751-rename-mr-maintainer-pushMark Chao2018-06-012-6/+6
| | | | | | branch" "Maintainer" will be freed to be used for #42751
* Refactor out duplication in runner_policy.rb46010-allow-managing-group-runners-via-apiDylan Griffith2018-05-161-4/+8
|
* Change policy list_runner_jobs -> read_runnerDylan Griffith2018-05-161-1/+0
|
* Rename User#ci_authorized_runners -> ci_owned_runnersDylan Griffith2018-05-161-6/+6
|
* Improve efficiency of authorized_runner policy queryDylan Griffith2018-05-161-1/+1
|
* Use can? policies for lib/api/runners.rbDylan Griffith2018-05-161-4/+4
|
* Enable update_(build|pipeline) for maintainersJan Provaznik2018-05-152-0/+17
|
* Update policies to make archived projects completely read-onlyDouwe Maan2018-04-102-12/+6
|
* Hide pipeline schedule 'take ownership' for current ownerMark Fletcher2018-02-011-0/+8
|
* Refactor common protected ref checkStan Hu2017-12-122-16/+10
|
* Fix conditions for checking pipeline schedule rulesStan Hu2017-12-121-3/+3
|
* Create a play_pipeline_schedule policy and use itStan Hu2017-12-121-0/+18
|
* Add doc. Fix spec. Add erase_build in protected_ref ruleShinya Maeda2017-11-071-4/+8
|
* Do not allow jobs to be erasedShinya Maeda2017-11-061-0/+5
|
* Rename :user_cannot_update to :protected_refLin Jen-Shin2017-07-182-4/+4
|
* Rename can_push_or_merge_to_branch? to can_update_branch?Lin Jen-Shin2017-07-182-4/+8
| | | | Also make sure pipeline would also check against tag as well
* Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-07-181-3/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (25 commits) Remove unneeded asserts and add tests for inactive RequestStore Rename the methods to make it fit with current name Follow feedback on the merge request Make sure it checks against the tag only when it's a tag Renamed Gitaly services fix transient rspec failure due to Poll.js race condition Refactor variables initialization in dropzone_input.js cache the cache key... avoid #respond_to? in Cache.id_for cache DeclarativePolicy.class_for at the class level Update 9.3-to-9.4.md fix padding on filtered search dropdown. Styles should only apply to li in list Cache Note#notable for commits and fix tests Add changelog entry Update the comments for the new functionality Use RequestStoreWrap for Commit#author Skip dead jobs queue for web hooks and project services Add RequestStoreWrap to cache via RequestStore Don't track cached queries in Gitlab::PerformanceBar::PeekQueryTracker Add changelog entry ...
| * Make sure it checks against the tag only when it's a tag34927-protect-manual-actions-on-tagsLin Jen-Shin2017-07-181-1/+4
| |
| * Protect manual actions against protected tag tooLin Jen-Shin2017-07-171-3/+4
| |
* | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-07-171-0/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (638 commits) Simplify background migrations stealing code Expire cached user IDs that can see the performance after 5 minutes Promote visibility level helpers from Group to Namespace Fix off-by-one error in background migration retries Recover from all exceptions when stealing bg migration Fix label creation from new list for subgroup projects move click handler to button. when on the icon it wasn't triggered in firefox Fix incorrect AWS ELB metrics. Fix wrong link to docs in docs styleguide Update issue-related docs Refactor groups docs Add subgroups limitations to Pages docs Update Google launcher details Split docs on IP whitelist for monitoring access Update health check docs Bump fog-core to 1.44.3 and fog providers' plugins to latest Introduce have_gitlab_http_status Remove Repository#search_files Update Pipeline's badge count in Merge Request and Commits view to match real-time content Fixes the user order being overriden in the autocomplete controller ...
| * Remove update|admin_pipeline_schedule from Project, and grant it in ↵Kamil Trzcinski2017-07-071-16/+5
| | | | | | | | PipelineSchedule
| * Fix policy by new guild lineShinya Maeda2017-07-051-8/+10
| |
| * zh nich catches 2Shinya Maeda2017-07-051-1/+5
| |
| * Improve PipelineSchedulePolicyShinya Maeda2017-07-051-3/+7
| |
| * Add functionality and security.Shinya Maeda2017-07-051-16/+6
| |
| * Fix policy by new guild lineShinya Maeda2017-07-051-8/+10
| |
| * zh nich catches 2Shinya Maeda2017-07-051-1/+5
| |
| * Improve PipelineSchedulePolicyShinya Maeda2017-07-051-3/+7
| |
| * Add functionality and security.Shinya Maeda2017-07-051-0/+11
| |
* | Fix bad conflict resolutionLin Jen-Shin2017-07-041-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-07-044-56/+32
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (119 commits) Speed up operations performed by gitlab-shell Change the force flag to a keyword argument add image - issue boards - moving card copyedit == ee !2296 Reset @full_path to nil when cache expires Replace existing runner links with icons and tooltips, move into btn-group. add margin between captcha and register button Eagerly create a milestone that is used in a feature spec Adjust readme repo width Resolve "Issue Board -> "Remove from board" button when viewing an issue gives js error and fails" Set force_remove_source_branch default to false. Fix rubocop offenses Make entrypoint and command keys to be array of strings Add issuable-list class to shared mr/issue lists to fix new responsive layout New navigation breadcrumbs Restore timeago translations in renderTimeago. Fix curl example paths (missing the 'files' segment) Automatically hide sidebar on smaller screens Fix typo in IssuesFinder comment Make Project#ensure_repository force create a repo ...
| * convert all the policies to DeclarativePolicyhttp://jneen.net/2017-06-274-40/+28
| |
* | Consistently check permission for creating pipelines,Lin Jen-Shin2017-07-042-6/+24
|/ | | | | updating builds and updating pipelines. We check against being able to merge or push if the ref is protected.
* Check only a merge ability for protected actionsGrzegorz Bizon2017-05-311-1/+1
|
* Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-071-0/+4
|
* Use update build policy instead of new play policyGrzegorz Bizon2017-05-051-5/+7
|
* Merge branch 'master' into ↵Grzegorz Bizon2017-04-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/gb/manual-actions-protected-branches-permissions * master: (641 commits) Revert "Fix registry for projects with uppercases in path" Fix registry for projects with uppercases in path Move event icons into events_helper Reset New branch button when issue state changes Add link to environments on kubernetes.md Indent system notes on desktop screens Improve webpack-dev-server compatibility with non-localhost setups. Add changelog entry Fix recent searches icon alignment in Safari Use preload to avoid Rails using JOIN Fix NUMBER_OF_TRUNCATED_DIFF_LINES re-definition error Prepare for zero downtime migrations Fix filtered search input width for IE Fix the `gitlab:gitlab_shell:check` task Fixed random failures with Poll spec Include CONTRIBUTING.md file when importing .gitlab-ci.yml templates Let uses hide verbose output by default Separate examples for each other Collapse similar sibling scenarios Use empty_project for resources that are independent of the repo ... Conflicts: app/views/projects/ci/builds/_build.html.haml
| * Remove the User#is_admin? methodblackst0ne2017-04-091-1/+1
| |
* | Do not inherit build policy in pipeline policyGrzegorz Bizon2017-04-121-1/+4
| |
* | Move code for playing an action to separate serviceGrzegorz Bizon2017-04-121-1/+1
| |
* | Implement new rule for manual actions in policiesGrzegorz Bizon2017-04-121-0/+14
|/
* Improve pipeline triggers UIKamil Trzciński2017-03-071-0/+13
|
* Fix build access policies when pipelines are publicGrzegorz Bizon2017-01-231-2/+0
|
* Guests can read builds if those are publicZ.J. van de Weg2016-12-041-0/+2
| | | | Fixes #18448
* Send only to users have :read_build access, feedback:Lin Jen-Shin2016-10-212-1/+5
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_17193335
* port runners, namespaces, group/project_membershttp://jneen.net/2016-08-301-0/+13
|