Production Build Working
CI / scan_ruby (push) Failing after 37s
CI / lint (push) Failing after 39s

This commit is contained in:
Jason Jordan
2026-09-16 12:41:44 -04:00
parent 9853d58469
commit 1c80e642f5
51 changed files with 648 additions and 440 deletions
+12
View File
@@ -0,0 +1,12 @@
class Baclight::CarrierPolicy < ApplicationPolicy
def employers_list?; carrier_rule?; end
private
def carrier_rule?
user.admin? ||
(user.carrier? && record.id == user.keychain[:id])
end
end