Skip to content

Commit

Permalink
Add explicit #start_on/#end_on to Role, remove FutureRole, Role#delet…
Browse files Browse the repository at this point in the history
…e_on
  • Loading branch information
daniel-illi authored and kronn committed Nov 17, 2024
1 parent c92a697 commit 0cdb953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/abilities/dsj/person_readables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def accessible_people_with_mitarbeiter
if user_is_mitarbeiter_or_vorstandsmitglied?
Person.only_public_data
.joins(roles: :group)
.where(roles: {deleted_at: nil}, groups: {deleted_at: nil})
.where(groups: {deleted_at: nil})
else
accessible_people_without_mitarbeiter
end
Expand Down

0 comments on commit 0cdb953

Please sign in to comment.