Move role related views to FAB Auth manager:

- List roles
- Edit role
- Create role
- View role
"""
        REMOTE_USER user Authentication.
        :param username: user's username for remote auth
        """
        user = self.find_user(username=username)
        
        if user is None and self.auth_user_registration:
            user = self.add_user(
                
                
                username=username,
                first_name=username,
                last_name="-",
                email=username + "@email.notfound",
                role=self.find_role(self.auth_user_registration_role),
            )
        
        
        elif user is None or (not user.is_active):
            log.info(LOGMSG_WAR_SEC_LOGIN_FAILED.format(username))
            return None
        self._rotate_session_id()
        self.update_user_auth_stat(user)
        return user
    def _oauth_calculate_user_roles(self, userinfo) -> list[str]: