otwarchive-sunsetarchive/app/policies/external_work_policy.rb
2026-03-17 01:16:49 -04:00

5 lines
123 B
Ruby
Executable file

class ExternalWorkPolicy < UserCreationPolicy
def update?
user_has_roles?(%w[superadmin policy_and_abuse])
end
end