Skip to content

[Bug]: Can't delete internal RagFlow API Key.. both users on my test box have the same API Key #3045

Open
@dgutman

Description

@dgutman

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch name

main

Commit ID

na

Other environment information

Running Ubuntu 22.04 with the latest docker version I pulled < 3 days ago

Actual behavior

image

The UI indicates I can delete the aPI Key, but if I refresh the page, it's still there. This is done in an incognito window, so this shouldn't have any saved cookies / tokens from previous logins. I think logged in using the admin account we set up , and it turns out both accounts had the same API_KEY which seems like a bigger problem. When I tried to upload documents to "my" repository, it kept saying I have the wrong knowledge base name. It turns out it was because I was using the "admin" api key... even though that is what was showing up in "my" account. I also couldn't create a second API Key, hoping maybe that would nudge the issue away.

Expected behavior

Should be able to delete/create new API Key's not just if I am the initial admin user.

Steps to reproduce

Simply had two accounts, and tried to delete the API KEy as the second user on the system.

Additional information

d

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions