-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Able to upload a file of certain mime-type despite rule that prohibits it #108
Comments
What happens for users syncing with the desktop client in this case by the way is the following: They get the message that something has failed. ("File was deleted from server."). While this is technically exactly what might have happened, it might be a confusing notification. On the other hand, the error message is not really clear: it says "The file has been deleted from the server." when it actually is still there visible in the web UI. |
Ah nice, this is broken because it uses a new This makes us fail to read a mime type => upload works. |
I will try to have a look at the conf |
Fix is in nextcloud/server#10828 |
Steps to reproduce
Install and enable files_accesscontrol. Setup a rule to disallow uploading .exe files:
Expected behaviour
The introduction text says that when a rule applies, neither read nor write is allowed. However, uploading (write) operation is still possible.
Actual behaviour
File should not be allowed for upload in the first place. (Read-access is properly blocked as expected though.)
So either the rule does not apply correctly, or the introduction text at the top of the files access control app is not correct stating that "writing" the files would also not be possible.
Server configuration
NC 13.0.5
The text was updated successfully, but these errors were encountered: