Switch to unified view

a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
...
...
532
            return True
532
            return True
533
        return False # pragma no cover
533
        return False # pragma no cover
534
534
535
    @property
535
    @property
536
    def user(self):
536
    def user(self):
537
        if self.user_id is None: return None
537
        if (self.user_id is None
538
            and self.name 
539
            and not self.name.startswith('*')):
540
            return None
538
        return User.query.get(_id=self.user_id)
541
        return User.query.get(_id=self.user_id)
539
542
540
    @property
543
    @property
541
    def settings_href(self):
544
    def settings_href(self):
542
        if self.name in ('Admin', 'Developer', 'Member'):
545
        if self.name in ('Admin', 'Developer', 'Member'):