def allowed(self): return ( not "password" in self.cfg.user_form_remove and not "password" in self.cfg.user_form_disable and UserPrefBase.allowed(self) and not "password" in self.request.user.auth_attribs )
def allowed(self): return (UserPrefBase.allowed(self) and self.request.user.isSuperUser() or (not self.request._setuid_real_user is None and (self.request._setuid_real_user.isSuperUser())))
def allowed(self): return (self.request.user.auth_method in self.request.cfg.auth_can_logout and UserPrefBase.allowed(self) and self.request.user.isSuperUser())
def allowed(self): return (not 'password' in self.cfg.user_form_remove and not 'password' in self.cfg.user_form_disable and UserPrefBase.allowed(self) and not 'password' in self.request.user.auth_attribs)
def allowed(self): return ( self.request.user.auth_method in self.request.cfg.auth_can_logout and UserPrefBase.allowed(self) and self.request.user.isSuperUser() )
def allowed(self): return UserPrefBase.allowed(self) and ( self.cfg.mail_enabled or self.cfg.jabber_enabled)
def allowed(self): return UserPrefBase.allowed(self) and (self.cfg.mail_enabled or self.cfg.jabber_enabled)
def allowed(self): return UserPrefBase.allowed(self) and self.fields != []