Glitch-Shrike/app/policies/relay_policy.rb

8 lines
127 B
Ruby

# frozen_string_literal: true
class RelayPolicy < ApplicationPolicy
def update?
role.can?(:manage_federation)
end
end