Drag-N-Drop not working - "You don’t have permission to upload or create files here"

could you post either the change required, or the fixed version? after updating to 16.0.2 i can’t upload in folders i created, and OP’s code format is hard to read (not properly wrapped)

edit nevermind got the patch to work.