You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just spent 6 hours debugging the fact that BE users other than admin would not see any files when listing a folder in the Media module. It turns out this line screws up the permissions check:
Hi,
Just spent 6 hours debugging the fact that BE users other than admin would not see any files when listing a folder in the Media module. It turns out this line screws up the permissions check:
$fileMountUids = implode(',', array_filter($fileMounts));
This triggers choosing the wrong expression in function addDemandConstraints in vidi/Classes/Service/DataService.php:
uid
= '54,4,49,43,55,36,37,39,41,56,51'which should be:
uid
IN (54, 4, 49, 43, 55, 36, 37, 39, 41, 56, 51)Changing the implode to:
$fileMountUids = array_filter($fileMounts);
fixes it.
The text was updated successfully, but these errors were encountered: