meilisearch-ui icon indicating copy to clipboard operation
meilisearch-ui copied to clipboard

Ability to connect to instance with API Key instead of master key

Open hanyuwei70 opened this issue 1 year ago • 1 comments

As title describes, the UI seems only accept master key. I am willing to connect to friend's instance using API key.

hanyuwei70 avatar Feb 13 '24 08:02 hanyuwei70

Because this UI provide some admin features need master key now like key management. Maybe we can add some additional params in instance config form in the future to control conditional UI routes for common API Key (search/admin).

eyeix avatar Feb 14 '24 07:02 eyeix

@hanyuwei70

This issue will be closed due to complexity of implementation.

To control conditional UI routes, the API key should request their own meta data(indexes,actions...) first, then add lots of conditional codes to achieve that.

According to meilisearch official docs, API key which wanna to request their own meta data need to have access to the keys.get actions.

This will increase the mental burden of developers.

eyeix avatar Oct 21 '24 01:10 eyeix

That's sad, but is ok for me :)

hanyuwei70 avatar Oct 21 '24 02:10 hanyuwei70