Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-02-22 15:23:46 +01:00
56 changed files with 761 additions and 359 deletions

View File

@ -0,0 +1,19 @@
# frozen_string_literal: true
class RulePolicy < ApplicationPolicy
def index?
staff?
end
def create?
admin?
end
def update?
admin?
end
def destroy?
admin?
end
end