KonstantinGasser / datalab

Bachelor Thesis Project
Apache License 2.0
0 stars 0 forks source link

User added to app sometimes sees either or app in the app list but not all apps the user is part of #29

Closed KonstantinGasser closed 3 years ago

KonstantinGasser commented 3 years ago

Description

Fatality?!

[high]

KonstantinGasser commented 3 years ago

funny issue thou. The query to get all apps user is part of I did not use the $and operation to check that the user is member and its status is accepted - if you don't use the $and the order of the arguments (uuid == useruuid, status= 2) matters but one records had the order reversed. Fixed by using the $and operator ignoring the order