Move role related views to FAB Auth manager:

- List roles
- Edit role
- Create role
- View role
"""Generic function to return user registration."""
        raise NotImplementedError
    def add_register_user(self, username, first_name, last_name, email, password="", hashed_password=""):
        """Generic function to add user registration."""
        raise NotImplementedError
    def del_register_user(self, register_user):
        """Generic function to delete user registration."""
        raise NotImplementedError
    def get_user_by_id(self, pk):
        """Generic function to return user by it's id (pk)."""
        raise NotImplementedError
    def find_user(self, username=None, email=None):
        """Generic function find a user by it's username or email."""
        raise NotImplementedError
    def get_all_users(self):
        """Generic function that returns all existing users."""
        raise NotImplementedError
    def get_role_permissions_from_db(self, role_id: int) -> list[Permission]:
        """Get all DB permissions from a role id."""
        raise NotImplementedError
    def add_user(self, username, first_name, last_name, email, role, password=""):