allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [09/15] allura git commit: [#7704] ticket:662 Check for pending status in User.private_project
Date Mon, 17 Nov 2014 19:43:15 GMT
[#7704] ticket:662 Check for pending status in User.private_project


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/3095f426
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/3095f426
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/3095f426

Branch: refs/heads/master
Commit: 3095f426816cbe59d1a7c2d6a844be1c7a0986ca
Parents: 8f03485
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Fri Oct 10 00:54:43 2014 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Nov 17 19:18:04 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/3095f426/Allura/allura/model/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index 96a9795..ea07999 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -669,7 +669,7 @@ class User(MappedClass, ActivityNode, ActivityObject, SearchIndexable):
         '''
         Returns the personal user-project for the user
         '''
-        if self.disabled:
+        if self.disabled or self.pending:
             return None
 
         from allura import model as M


Mime
View raw message