Skip to content

Commit

Permalink
Merge pull request #5027 from bcgov/dev-release-9.5.6
Browse files Browse the repository at this point in the history
release 9.5.6 from rook
  • Loading branch information
divyav-aot authored Jan 31, 2024
2 parents 8f1e7e8 + 501b1a8 commit bb057f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def addadditionalfilter(cls, basequery, additionalfilter=None, userid=None, isia
return basequery.filter(
and_(
FOIRawRequest.status.notin_(['Archived']),
or_(and_(FOIRawRequest.isiaorestricted == False, FOIRawRequest.assignedgroup.in_(ProcessingTeamWithKeycloackGroup.list())), and_(FOIRawRequest.isiaorestricted == True, FOIRawRequest.assignedto == userid))))
or_(and_(FOIRawRequest.isiaorestricted == False, FOIRawRequest.assignedgroup.in_(ProcessingTeamWithKeycloackGroup.list()), FOIRawRequest.assignedgroup.in_(tuple(groups))), and_(FOIRawRequest.isiaorestricted == True, FOIRawRequest.assignedto == userid))))
return basequery.filter(
and_(
FOIRawRequest.status.notin_(['Archived']),
Expand Down

0 comments on commit bb057f3

Please sign in to comment.