gitlab-org--gitlab-foss/app/policies
Bob Van Landuyt d801dd1774 Allows access_(git|api) to anonymous users
The `access_git` and `access_api` were currently never checked for
anonymous users. And they would also be allowed access:

  An anonymous user can clone and pull from a public repo

  An anonymous user can request public information from the API

So the policy didn't actually reflect what we were enforcing.
2018-05-10 17:02:27 +02:00
..
application_setting
ci
clusters
project_policy
base_policy.rb
commit_status_policy.rb
deploy_key_policy.rb
deploy_token_policy.rb
deployment_policy.rb
environment_policy.rb
external_issue_policy.rb
global_policy.rb Allows access_(git|api) to anonymous users 2018-05-10 17:02:27 +02:00
group_label_policy.rb
group_member_policy.rb
group_policy.rb
issuable_policy.rb
issue_policy.rb
merge_request_policy.rb
namespace_policy.rb
nil_policy.rb
note_policy.rb
personal_snippet_policy.rb
project_label_policy.rb
project_member_policy.rb
project_policy.rb Adds remote mirror table migration 2018-05-07 12:00:13 +02:00
project_snippet_policy.rb
protected_branch_policy.rb
user_policy.rb