diff --git a/gen/wrappers/UserWrapper.py b/gen/wrappers/UserWrapper.py index 74324d5..a417e3a 100644 --- a/gen/wrappers/UserWrapper.py +++ b/gen/wrappers/UserWrapper.py @@ -23,6 +23,8 @@ class UserWrapper(AbstractWrapper): href=":'%s/edit?page=passwords' % user.url">:_('change_password') ''') + def isSpecial(self): return self.login in self.specialUsers + def getTitle(self, normalized=False): '''Returns a nice name for this user, based on available information: name/first name or title or login. If p_normalized is True, special