mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-06 10:16:34 +00:00
16 lines
163 B
Ruby
16 lines
163 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TagPolicy < ApplicationPolicy
|
|
def index?
|
|
staff?
|
|
end
|
|
|
|
def hide?
|
|
staff?
|
|
end
|
|
|
|
def unhide?
|
|
staff?
|
|
end
|
|
end
|