Describe the bug
Files cannot be deleted when the owner has a numeric name because of the error "wrong owner type".
To Reproduce
Steps to reproduce the behavior:
- Create a user with name "12345" so that the user Id is "12345"
- Upload a file that can be viewed in the viewer
- Open the file with the viewer
- Attempt deleting the file from the viewer
- Observe the failure notification
Expected behavior
The file can be deleted