Move role related views to FAB Auth manager:

- List roles
- Edit role
- Create role
- View role
"""
        Deletes the permission linking an action->resource pair. Doesn't delete the
        underlying action or resource.
        :param action_name: Name of existing action
        :param resource_name: Name of existing resource
        :return: None
        """
        raise NotImplementedError
    def perms_include_action(self, perms, action_name):
        raise NotImplementedError
    def add_permission_to_role(self, role, permission) -> None:
        """
        Add an existing permission pair to a role.
        :param role: The role about to get a new permission.
        :param permission: The permission pair to add to a role.
        :return: None
        """
        raise NotImplementedError
    def remove_permission_from_role(self, role, permission) -> None:
        """
        Remove a permission pair from a role.
        :param role: User role containing permissions.
        :param permission: Object representing resource-> action pair
        """
        raise NotImplementedError
    @staticmethod
    def before_request():
        """Hook runs before request."""
        g.user = get_auth_manager().get_user()