Rosanne DiMesio : Allow users to see their queued screenshots
Jeremy Newman
jnewman at winehq.org
Mon Jun 19 08:57:52 CDT 2017
Module: appdb
Branch: master
Commit: 9d0754392b73532dc8d5028b2d2ce4968fd8f49d
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=9d0754392b73532dc8d5028b2d2ce4968fd8f49d
Author: Rosanne DiMesio <dimesio at earthlink.net>
Date: Fri Jun 16 13:42:20 2017 -0500
Allow users to see their queued screenshots
Fixes bug 28032.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>
---
include/user.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/user.php b/include/user.php
index 80cd9f4..2d62ea5 100644
--- a/include/user.php
+++ b/include/user.php
@@ -620,7 +620,8 @@ class User {
if(!$oScreenshot->bQueued ||
($oScreenshot->bQueued && ($this->hasPriv("admin") ||
$this->isMaintainer($oScreenshot->iVersionId) ||
- $this->isSuperMaintainer($oScreenshot->iAppId))))
+ $this->isSuperMaintainer($oScreenshot->iAppId) ||
+ $this->iUserId == $oScreenshot->iSubmitterId)))
return true;
return false;
More information about the wine-cvs
mailing list