Verified Commit a441475f authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

revert unneccesary change

parent 0e50d5c0
Pipeline #13816 failed with stage
in 23 minutes and 51 seconds
......@@ -32,11 +32,8 @@ class ApplicationPolicy
def department_manager_offer?
department_manager? && department_manager_offer_related?
def department_manager_offer_related?
user.department.include?(record.department) || user.group_offers.include?(record)
department_manager? &&
(user.department.include?(record.department) || user.group_offers.include?(record))
def superadmin_or_department_manager_offer?
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment