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

anonymous.rb « users « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4a182ba203d84e64f0207175174b3a4b9cbd827 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Users
  class Anonymous
    class << self
      def can?(action, subject = :global)
        Ability.allowed?(nil, action, subject)
      end
    end
  end
end