50abbd3e53
Partially addresses #47424.
9 lines
162 B
Ruby
9 lines
162 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Guest
|
|
class << self
|
|
def can?(action, subject = :global)
|
|
Ability.allowed?(nil, action, subject)
|
|
end
|
|
end
|
|
end
|