"Access Denied" shown when no VDB provider is available

Created on 18 February 2025, 4 days ago

Problem/Motivation

When no VDB provider is available, visiting the page /admin/config/ai/vdb_providers shows an "Access Denied" page, even for administrators. This is misleading because the issue is not a permission-related problem but rather the absence of a vector database provider.

Steps to reproduce

Visit the page /admin/config/ai/vdb_providersfrom the admin user without adding or configuring vector database providers.

Proposed resolution

Display informative messages like "No vector database provider available or configured." etc.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

AI Core module

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @prashant.c
  • 🇬🇧United Kingdom scott_euser

    Sounds good, could you create a hold page in a Merge Request please that handles that? Would be good for it to have a basic explanation what to do. Perhaps linking to a drupal.org page that lists the VDB providers available.

    It seems like AI module homepage should also list VDB providers

Production build 0.71.5 2024