0
0
Fork 0
mirror of https://github.com/lunaisnotaboy/mastodon.git synced 2024-12-04 20:45:13 +00:00
mastodon/app/policies/relay_policy.rb
Eugen Rochko e55dce3176
Add federation relay support ()
* 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