Moved the privilege checking code which does not apply for embedded to a separate test case.
Attach a file by drag & drop or click to upload