Its been a while
CI / scan_ruby (push) Failing after 2m13s
CI / lint (push) Failing after 20s

This commit is contained in:
Jason Jordan
2026-07-23 10:41:46 -04:00
parent 16fadfd529
commit 9853d58469
83 changed files with 1978 additions and 243 deletions
+13
View File
@@ -0,0 +1,13 @@
class Baclight::BrokerPolicy < ApplicationPolicy
def employers_list?; true; end
private
def broker_rule?
user.admin? ||
(user.broker? && record.broker_id == user.keychain[:id]) ||
(user.carrier? && record.carrier_id == user.keychain[:id])
end
end