summaryrefslogtreecommitdiff
path: root/lib/gitlab/git_access.rb
Commit message (Expand)AuthorAgeFilesLines
* Don't pass `env` anymore to GitAccess, ChangeAccess, and ForcePushbackport-ee-1525Rémy Coutable2017-04-101-3/+1
* Backport changes from gitlab-org/gitlab-ee!1406adam-backport-ee-1406Adam Niedzielski2017-03-131-1/+3
* Enable Style/MutableConstantDouwe Maan2017-02-231-3/+3
* Rubocop prefers to indent this wayfeature/1376-allow-write-access-deploy-keysLin Jen-Shin2016-12-201-2/+2
* Use consistent names and move checks to the method,Lin Jen-Shin2016-12-201-39/+43
* Merge remote-tracking branch 'upstream/master' into feature/1376-allow-write-...Lin Jen-Shin2016-12-201-1/+3
|\
| * Accept environment variables from the `pre-receive` script.Timothy Andrew2016-12-161-2/+3
* | Check project existence for push too, andLin Jen-Shin2016-12-101-16/+6
* | Don't pass the actor for deploy key, feedback:Lin Jen-Shin2016-12-101-0/+2
* | Prefer guest_can_download_code? and fix typoLin Jen-Shin2016-12-061-2/+2
* | Prefer guest_can_downlod_code?Lin Jen-Shin2016-12-061-1/+1
* | Merge remote-tracking branch 'upstream/master' into feature/1376-allow-write-...Lin Jen-Shin2016-12-061-0/+4
|\ \ | |/
| * Allow access to the wiki with git when repository feature disabledDouglas Barbosa Alexandre2016-11-301-1/+5
* | Check download privilege more specifically andLin Jen-Shin2016-11-181-29/+29
* | Still grant :download_code if guest could do thatLin Jen-Shin2016-11-181-5/+3
* | Check if the key could really download, feedback:Lin Jen-Shin2016-11-181-1/+1
* | We never check user privilege if it's a deploy keyLin Jen-Shin2016-11-181-10/+19
* | Introduce has_access_to? so that we could reuse itLin Jen-Shin2016-11-161-1/+1
* | Also need to check against push rules:Lin Jen-Shin2016-11-161-1/+1
* | Fix test for GitAccessWiki, it's overriding change_access_checkLin Jen-Shin2016-11-111-3/+6
* | Add more tests and fix write to project checkLin Jen-Shin2016-11-111-1/+1
* | So deploy key might not have a corresponding userLin Jen-Shin2016-11-111-2/+2
* | Improve write access check for deploy keyLin Jen-Shin2016-11-111-45/+36
* | Merge remote-tracking branch 'upstream/master' into feature/1376-allow-write-...Lin Jen-Shin2016-11-101-29/+77
|\ \ | |/
| * Merge branch 'fix-unathorized-cloning' into 'security'Douwe Maan2016-11-091-31/+60
| * Rename capabilities to authentication_abilitiesKamil Trzcinski2016-09-161-6/+6
| * Fix existing authorization specsKamil Trzcinski2016-09-151-1/+1
| * Use `build_read_container_image` and use `build_download_code`Kamil Trzcinski2016-09-151-4/+4
| * Make result to return project and capabilities grantedKamil Trzcinski2016-09-131-6/+6
| * Use a permissions of user to access all dependent projects from CI jobs (this...Kamil Trzcinski2016-09-131-3/+16
* | added spacingAli Ibrahim2016-08-191-0/+1
* | Allow to add deploy keys with write-accessAli Ibrahim2016-08-171-5/+12
|/
* api for generating new merge requestScott Le2016-08-111-2/+2
* Merge branch 'fix-gitaccess-scope' into 'master' Rémy Coutable2016-08-111-1/+1
|\
| * Fixing scope issue in GitAccess.Elliot Wiltshire2016-07-251-1/+1
* | Stop 'git push' over HTTP earlyJacob Vosmaer2016-08-031-1/+1
|/
* Allow to pull code with deploy key from public projectsallow-deploy-key-to-download-public-projectsKamil Trzcinski2016-07-191-0/+1
* Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' ""Rémy Coutable2016-07-181-113/+30
* Revert "Merge branch '18193-developers-can-merge' into 'master' "Robert Speicher2016-07-131-30/+113
* Move all "checks" under `GitLab::Checks`.Timothy Andrew2016-07-131-1/+1
* Appease rubocop.Timothy Andrew2016-07-131-1/+0
* Refactor `Gitlab::GitAccess`Timothy Andrew2016-07-131-129/+30
* Enforce "developers can merge" during `pre-receive`.Timothy Andrew2016-07-131-0/+7
* Added "developers can merge" setting to protected branchesMathias Vestergaard2016-07-131-0/+10
* Revert back to not defining a default Git access protocol.Patricio Cano2016-07-051-1/+1
* Default Git access protocol to `web`Patricio Cano2016-07-051-3/+1
* Don't allow empty strings in the `protocol` check.Patricio Cano2016-07-051-1/+1
* Correct access control flow for Git HTTP requests.Patricio Cano2016-07-051-4/+4
* Raise an error if no protocol is passed to the GitAccess check.Patricio Cano2016-07-051-1/+1
* Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell ...Patricio Cano2016-07-051-10/+4