Editing file properties fails for backend users (non-admin)
As an admin you can't edit files over clickmenu because the metadata uid is not set correctly. As an editor currently there is no chance to edit files.
[BUGFIX] Load file meta data properties before return
Currently it is not possible to edit files as an editor because no file
uid is submitted. This happens because meta data properties are not
loaded. This patch makes sure they get loaded before returning them.
Reviewed-by: Michiel Roos
Reviewed-by: Steffen Ritter
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters