Community Support for OpenDocMan (Deprecated)
admin can't delete files? - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: admin can't delete files? (/thread-108.html)



admin can't delete files? - Stephen - 01-13-2010

jonathanwminer
2006-02-14 17:06:23 PST
As an admin user, why can't I delete a file? Admin users seem to have limited rights at the file level.


logart
2006-02-14 17:09:06 PST
I just logged into the demo site as admin and was able to delete a file. Could it be the permissions for the file are wrong? do you get an error, or do you not see the delete icon in the file details page?

steve


jonathanwminer
2006-02-14 18:56:55 PST
There is no "delete icon". Looking at the source code, and inserting some debug statements, I learned that:

$userPermObj->getAuthority($_REQUEST['id']) = 2

and

$userPermObj->ADMIN_RIGHT = 4

Permissions for the file are shown as "-|-|-" in the file listing. The file is owned by another user.