-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Image can be added to root of Media when AllowAtRoot is false #7672
Comments
Thanks @stuartc-sindraksi - we reproduced the bug. There's also the dropzone to consider when you have root access. So there should be an error when you upload a file of the wrong mediatype. It could be that files not of type image are still allowed. At this point we'd be happy for some help with getting this fixed, if you are so inclined! |
We're writing to let you know that we've added the For more information about issues and states, have a look at this blog post Thanks muchly, from your friendly PR team bot :-) |
@mmrauta You were faster on this one ;-) 👍 |
@olibos we were almost at the same time! Knowing you would fix it the same way reassures me that it's a good resolution. I was also considering adding the message, similar to the one I saw for noDocumentTypesAllowedAtRootThere key:
I could add noMediaTypesAllowedAtRootThere key:
But not knowing how to correctly add new multilanguage text I abandoned this idea... But for future reference. could anyone please explain, how should we add new multilingual messages/labels? |
Hello @mmrauta , I've added your suggestion what do you think? |
Fixed in #7852 |
And additional fixing in #7672 👍 |
Images can be added to the root of the media section even when the AllowAtRoot Property is set to false.
Umbraco version
I am seeing this issue on Umbraco version: 8.5.3 (also seen in 8.3.0)
Reproduction
Steps to reproduce
Expected result
Clicking upload should not open a the file upload window if they are viewing the root, and a warning message should inform the user that images are not allowed at the root.
Actual result
Clicking the upload button provides no warning message and the file upload window opens
The text was updated successfully, but these errors were encountered: