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

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

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