only enable drag&drop upload if public upload is allowed, backport of #7631
Merge pull request #7698 from owncloud/backport_7631

only enable drag&drop upload if public upload is allowed