Merge branch 'main' into glitch-soc/merge-upstream
- `app/views/statuses/_simple_status.html.haml`: Small markup change in glitch-soc, on a line that has been modified by upstream. Ported upstream changes.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DeliveryPolicy < ApplicationPolicy
|
||||
def clear_delivery_errors?
|
||||
admin?
|
||||
end
|
||||
|
||||
def restart_delivery?
|
||||
admin?
|
||||
end
|
||||
|
||||
def stop_delivery?
|
||||
admin?
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user