Skip to content

Commit

Permalink
grant dlpsDeleted flag check
Browse files Browse the repository at this point in the history
  • Loading branch information
gkostin1966 committed Jan 24, 2024
1 parent f26ae27 commit c6775b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lauth/app/repositories/grant_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def for(username:, uri:, client_ip: nil)

ds = grants
.dataset
.where(grants[:dlpsDeleted].is("f"))
.join(collections.name.dataset, uniqueIdentifier: :coll)
.join(locations.name.dataset, coll: :uniqueIdentifier)
.left_join(users.name.dataset, userid: grants[:userid])
Expand Down

0 comments on commit c6775b5

Please sign in to comment.