Community Support for OpenDocMan (Deprecated)

Full Version: admin can't delete files?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.