mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-19 23:04:42 +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
|