![]() |
Unsetting Permission Issue - 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: Unsetting Permission Issue (/thread-71.html) |
Unsetting Permission Issue - Stephen - 01-13-2010 lindahu 2007-11-08 05:08:05 PST Hi, I gave "All the department" READ permission for my file A. I gave "Default setting for unset department" VIEW permission for my file A. After uploading and granting the permssion for file A, I create a new department and add a user - test1 for this new department. Then, test1 login but it can't see file A. Why the "Default setting for Unset Department" doesn't work?? Thanks for any kind help!! Linda jonathanwminer 2007-11-08 05:19:40 PST Linda - How comfortable are you with going into MySQL and looking at the raw tables? If you know the file ID, you can directly query the dept_perms table: SELECT * FROM dept_perms WHERE fid = ####; Your problem might be timing related, and that the document was added prior to the new department. I'd have to dig into the source code, since I'm not that familiar with the ODM permissions model from a programing standpoint. - Jon lindahu 2007-11-08 06:59:27 PST Hi Jon, Select * from dept_perms where fid=###; it will get nothing because it won't add the dept_perms when add the new department. That's why I think the "Default setting for unset department" doesn't work. |