mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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
|