Add comment to clarify a permissions check
This commit is contained in:
@@ -872,6 +872,7 @@ class User {
|
||||
if($this->isMaintainer($oVersion->iVersionId))
|
||||
return true;
|
||||
|
||||
/* the version is queued and the user is the submitter */
|
||||
if(($oVersion->sQueued != 'false') && ($this->iUserId == $oVersion->iSubmitterId))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user