diff rhodecode/lib/auth.py @ 2709:d2d35cf2b351 beta

RhodeCode now has a option to explicitly set forking permissions. ref #508 - changed the way permissons on users groups behave. Now explicit set on user is more important than permission set on users group
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 10 Aug 2012 03:09:36 +0200
parents 4b17216f2110
children a2eaa0054430
line wrap: on
line diff
--- a/rhodecode/lib/auth.py	Wed Aug 08 23:30:55 2012 +0200
+++ b/rhodecode/lib/auth.py	Fri Aug 10 03:09:36 2012 +0200
@@ -350,6 +350,7 @@
             log.debug('Auth User lookup by USER NAME %s' % self.username)
             dbuser = login_container_auth(self.username)
             if dbuser is not None:
+                log.debug('filling all attributes to object')
                 for k, v in dbuser.get_dict().items():
                     setattr(self, k, v)
                 self.set_authenticated()