Allow users to modify/delete their queued apps

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-21 21:48:15 +01:00
committed by Chris Morgan
parent 540e39dbbd
commit 79dd0cfcf8
3 changed files with 16 additions and 2 deletions

View File

@@ -685,7 +685,7 @@ class maintainer
function canEdit()
{
if($_SESSION['current']->hasPriv("admin"))
if($_SESSION['current']->hasPriv("admin") || $this->iUserId == $_SESSION['current']->iUserId)
return TRUE;
return FALSE;