mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-12 00:29:04 +01:00
2423d2f677
* Allow deleting site uploads * Refactor and move links into hints * Fix i18n tests * Fix HTML output of site_upload_delete_hint
15 lines
170 B
Ruby
15 lines
170 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SettingsPolicy < ApplicationPolicy
|
|
def update?
|
|
admin?
|
|
end
|
|
|
|
def show?
|
|
admin?
|
|
end
|
|
|
|
def destroy?
|
|
admin?
|
|
end
|
|
end
|