mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-21 01:55:41 +09:00
73be8f38c1
Fix #5578
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
|