Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2017-07-03 08:14:00 +0300
committerTimothy Andrew <mail@timothyandrew.net>2017-07-03 08:14:00 +0300
commit96e986327c4dad9248f9013f191119ffafe4a6d8 (patch)
treeeefcacbaa4c581c320df5bde765cc74bf0204496 /app/policies
parent5dedea358dc3012b4c2a876065c16cf748fbf7ea (diff)
Implement review comments for !12445 from @jneen.
- Fix duplicate `prevent` declaration - Add spec for `GlobalPolicy`
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/global_policy.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/policies/global_policy.rb b/app/policies/global_policy.rb
index 7767d3cccd5..55eefa76d3f 100644
--- a/app/policies/global_policy.rb
+++ b/app/policies/global_policy.rb
@@ -18,7 +18,6 @@ class GlobalPolicy < BasePolicy
prevent :receive_notifications
prevent :use_quick_actions
prevent :create_group
- prevent :log_in
end
rule { default }.policy do