Closed pmarcis closed 9 years ago
Found the issue - the root user does not have the rights to upload data.
I added a check for || $mysession["status"] == "root"
in the add new sentence section and it works now.
The best is to permit the access to "root" and to leave out it from "advisor" (advisor user can not change the data). So I fixed the bug changing the line from: if (!empty($mysession["status"]) && ($mysession["status"] == "admin" || $mysession["status"] == "advisor")) {
to: if (!empty($mysession["status"]) && ($mysession["status"] == "admin" || $mysession["status"] == "root")) {
Thanks for your feedbacks!
I tried uploading some files (in the correct format), but the system just reloads the page - nothing happens. There is also no error message.