Files
codeocean/app/policies/error_template_policy.rb
2021-05-14 22:03:06 +02:00

12 lines
159 B
Ruby

# frozen_string_literal: true
class ErrorTemplatePolicy < AdminOnlyPolicy
def add_attribute?
admin?
end
def remove_attribute?
admin?
end
end