Mercurial > public > src > rhodecode
diff pylons_app/lib/auth.py @ 413:55377fdc1fc6
cleared global application settings.
Made it much more extensible by keeping it key/value in the database.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 01 Aug 2010 18:36:00 +0200 |
parents | ca54622e39a1 |
children | e0ef325cbdea |
line wrap: on
line diff
--- a/pylons_app/lib/auth.py Sun Aug 01 17:08:58 2010 +0200 +++ b/pylons_app/lib/auth.py Sun Aug 01 18:36:00 2010 +0200 @@ -17,6 +17,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. +""" +Created on April 4, 2010 + +@author: marcink +""" from beaker.cache import cache_region from pylons import config, session, url, request from pylons.controllers.util import abort, redirect @@ -28,11 +33,6 @@ import crypt from decorator import decorator import logging -""" -Created on April 4, 2010 - -@author: marcink -""" log = logging.getLogger(__name__) @@ -186,7 +186,6 @@ user = fill_perms(user) session['hg_app_user'] = user session.save() - print user.permissions return user #===============================================================================