def METHOD_NAME(group_name: str) -> Response:
    """
    Get basic info about a group if the user has edit access to it.
    :param group_name: Group name.
    :return: JSON of group ID and group name if the user has edit access to the group.
    """
    verify_logged_in()
    user = get_current_user_object()
    user.bypass_access_lock = True
    ug = get_group_or_abort(group_name)
    if not user.is_admin:
        verify_group_edit_access(ug)
    return json_response(
        UserGroupMeta(id=ug.id, name=ug.name, managed=ug.admin_doc is not None)
    )