I have a library with document sets. Normally in the ribbon under "New document" I can only create new document sets when I'm in the top most level.
Only when I am inside a document set this ribbon action allows to create/upload documents.
Somehow I managed that I now also have the option to create documents, even on the top level of the library - where Microsoft says this should not work (well I cannot upload a document to that location but the ribbon action is still there).
Does anybody know how to get rid of those invalid ribbon actions?