Skip to content

Commit

Permalink
Revert "for_collection_class dlpsDeleted flags"
Browse files Browse the repository at this point in the history
This reverts commit 549cc8e.

Was committed directly to main, by accident. Will reappear in a PR.
  • Loading branch information
malakai97 committed Feb 21, 2024
1 parent 549cc8e commit 02e3543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lauth/app/repositories/grant_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def for_collection_class(username:, client_ip:, collection_class:)
.where(grants[:dlpsDeleted].is("f"))
.join(collections.name.dataset, uniqueIdentifier: :coll, dlpsDeleted: "f")
.left_join(users.name.dataset, userid: grants[:userid], dlpsDeleted: "f")
.left_join(institution_memberships.name.dataset, inst: grants[:inst], dlpsDeleted: "f")
.left_join(group_memberships.name.dataset, user_grp: grants[:user_grp], dlpsDeleted: "f")
.left_join(institution_memberships.name.dataset, inst: grants[:inst])
.left_join(group_memberships.name.dataset, user_grp: grants[:user_grp])
.left_join(Sequel.as(smallest_network, :smallest), inst: grants[:inst])
.where(collections[:dlpsClass] => collection_class)
.where(
Expand Down

0 comments on commit 02e3543

Please sign in to comment.