Re: Need some feedback for a fix for #14249

2010-12-13 Thread Harro
Shameless bump to get some attention for 1.3 :) Would be really nice to have this for 1.3 as it puts us one step closer to making the User model replacable ! I think it might be a good idea to move all the checks to the authentication backend so it works consistently for User.has_perm, User.has_p

Need some feedback for a fix for #14249

2010-11-23 Thread Harro
I have a patch for #14249 [1], but I ran into a problem with inactive superusers. Right now the active check is done before the superuser check. If we move the inactive check to the authentication backend, the superuser check get's executed before the is_active check, resulting in in_active superu