gitlab-org--gitlab-foss/lib
Timothy Andrew 828f6eb6e5 Enforce "No One Can Push" during git operations.
1. The crux of this change is in `UserAccess`, which looks through all
   the access levels, asking each if the user has access to push/merge
   for the current project.

2. Update the `protected_branches` factory to create access levels as
   necessary.

3. Fix and augment `user_access` and `git_access` specs.
2016-07-29 15:20:39 +05:30
..
api Add commit stats to commit api response 2016-07-28 11:30:56 +02:00
assets
backup Fix backup restore 2016-07-25 06:23:07 -07:00
banzai Ensure relative paths for video are rewritten as we do for images 2016-07-26 10:22:17 +02:00
ci Improve code design 2016-07-19 14:58:17 +02:00
container_registry
gitlab Enforce "No One Can Push" during git operations. 2016-07-29 15:20:39 +05:30
json_web_token
omni_auth
rouge/formatters
support
tasks Merge branch 'simple-cov' into 'master' 2016-07-27 16:42:07 +00:00
banzai.rb
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb Use project ID in repository cache to prevent stale data from persisting across projects 2016-07-25 05:09:28 -07:00
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb