incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [1/3] git commit: [#6677] ticket:532 Require role_name
Date Wed, 12 Feb 2014 16:00:01 GMT
Updated Branches:
  refs/heads/master 84c2b7c5c -> 4201b080c


[#6677] ticket:532 Require role_name


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

Branch: refs/heads/master
Commit: 4201b080c81dc5a0dee5a41a8f61c35f9eb6a9fe
Parents: 70f0bf3
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Feb 11 16:13:24 2014 +0200
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Wed Feb 12 15:59:47 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/4201b080/Allura/allura/model/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index fefc2c5..dfbfc32 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -751,7 +751,7 @@ class User(MappedClass, ActivityNode, ActivityObject):
         from .project import Project
         return Project.query.find({'_id': {'$in': projects}, 'deleted': False})
 
-    def my_projects_by_role_name(self, role_name=None):
+    def my_projects_by_role_name(self, role_name):
         """
         Return  only projects for which user has
         that role.


Mime
View raw message