mastodon/app/policies/domain_block_policy.rb

20 lines
204 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DomainBlockPolicy < ApplicationPolicy
def index?
2018-04-14 23:49:24 -07:00
staff?
end
def show?
2018-04-14 23:49:24 -07:00
staff?
end
def create?
2018-04-14 23:49:24 -07:00
staff?
end
def destroy?
2018-04-14 23:49:24 -07:00
staff?
end
end