1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 15:16:19 +09:00
mastodon/app/policies/relay_policy.rb
Eugen Rochko e55dce3176
Add federation relay support (#7998)
* Add federation relay support

* Add admin UI for managing relays

* Include actor on relay-related activities

* Fix i18n
2018-07-13 02:16:06 +02:00

8 lines
104 B
Ruby

# frozen_string_literal: true
class RelayPolicy < ApplicationPolicy
def update?
admin?
end
end