Closed GoogleCodeExporter closed 9 years ago
Original comment by mr.ksc...@gmail.com
on 17 Sep 2009 at 3:40
We actually need to differentiate staff and admin ... instead of multiple login
method.
Original comment by mr.ksc...@gmail.com
on 17 Sep 2009 at 3:56
add AUTH_ADMIN_USER_AS_SUPERUSER = False to settings.py under /gogogo-hk
This turn off "Google Accounts marked as admins get superuser and staff status
when
logging in for the first time"
now ... @staff_only decorate from ragendja can check for user.is_staff
If, we need to have checking for superuser only, we need further implement
@superuser_only decorater
Original comment by mr.ksc...@gmail.com
on 18 Sep 2009 at 2:23
Original issue reported on code.google.com by
xben...@gmail.com
on 16 Sep 2009 at 3:36