Also simplify the logic during file action registration. Basically, we should try to open all known mimetypes; file permissions are taken care of later in the WOPI protocol. Without this commit, it is not possible to open a document in a directory for which user has no write access. (cherry picked from commit f36c5106d6c52decac6caeb46c3ed65797e9a3d4) Signed-off-by: Andras Timar <andras.timar@collabora.com>