mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
add comment the getAccessMode() doesn't work in any case
This commit is contained in:
parent
92ab26d547
commit
ad95fdecd9
|
@ -3146,6 +3146,9 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
* It is also used by {@link SeedDMS_Core_Document::getAccessMode()} to
|
||||
* prevent access on the whole document if there is no accessible version.
|
||||
*
|
||||
* FIXME: This function only works propperly if $u is the currently logged in
|
||||
* user, because noReadForStatus will be set for this user.
|
||||
*
|
||||
* @param object $u user
|
||||
* @return integer either M_NONE or M_READ
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user