#50872File permissions set in the user record are not taken into account
Description
With FAL a new way to define file permissions (for storages) has been introduced.
You can set these in User TsConfig instead of doing it in the user record.
There is a backwards compatibility layer however which should
set the permissions according to the database entry in case no
permissions have been set in TsConfig does not work,
because of a wrong check for existence of UserTsConfig properties.
Instead of checking for an array (which is always the case), we
have to check if the array is not empty.