diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-13 02:16:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 02:16:06 +0200 |
commit | e55dce3176b7ac0a23a8a652c2626707a1b74dbb (patch) | |
tree | 12d129849083dc0d17e372cb13d549c39dc40d51 /app/policies | |
parent | 401559c376078ef98e11c3034977b835b4086b5b (diff) |
Add federation relay support (#7998)
* Add federation relay support * Add admin UI for managing relays * Include actor on relay-related activities * Fix i18n
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/relay_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/relay_policy.rb b/app/policies/relay_policy.rb new file mode 100644 index 000000000..bd75e2197 --- /dev/null +++ b/app/policies/relay_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class RelayPolicy < ApplicationPolicy + def update? + admin? + end +end |