I stumbled upon a weird bug. Non-admin users weren't able to see the "Available twins for study" table on the Twins tab (e.g. this one). The map and the "included in study" table are being displayed as expected. For admins this problem does not occur and there are also no error messages in the log files or browser console.
At first I thought this might be an permission problem in the attachment view, that is responsible for the problematic table. But in the end i found out that it was caused by a relationsship, that was set inside the view, although it wasn't actually used in any of the fields or filters.
After I removed this relationship, non-admin users were able to see the "Available twins for study" table as expected. So, this bug is now fixed, however I would still like to highlight this problem in general, since it could also occur in other places. I have no idea why this unused relationsship is even causing such problems.
@fgeyer16 and @DenoBeno do you have any clue what might be going on here?
I stumbled upon a weird bug. Non-admin users weren't able to see the "Available twins for study" table on the Twins tab (e.g. this one). The map and the "included in study" table are being displayed as expected. For admins this problem does not occur and there are also no error messages in the log files or browser console.
At first I thought this might be an permission problem in the attachment view, that is responsible for the problematic table. But in the end i found out that it was caused by a relationsship, that was set inside the view, although it wasn't actually used in any of the fields or filters.
After I removed this relationship, non-admin users were able to see the "Available twins for study" table as expected. So, this bug is now fixed, however I would still like to highlight this problem in general, since it could also occur in other places. I have no idea why this unused relationsship is even causing such problems. @fgeyer16 and @DenoBeno do you have any clue what might be going on here?