mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
Update crates/meilisearch-types/src/keys.rs
Co-authored-by: gui machiavelli <hey@guimachiavelli.com>
This commit is contained in:
parent
28adbc0d18
commit
a56c036994
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ impl Key {
|
||||||
let uid = Uuid::new_v4();
|
let uid = Uuid::new_v4();
|
||||||
Self {
|
Self {
|
||||||
name: Some("Default Read-Only Admin API Key".to_string()),
|
name: Some("Default Read-Only Admin API Key".to_string()),
|
||||||
description: Some("Use it to peek into the instance in a read-only mode. Caution: This key gives you access to all the other api keys. Do not expose it on a public frontend".to_string()),
|
description: Some("Use it to read information across the whole database. Caution! Do not expose this key on a public frontend".to_string()),
|
||||||
uid,
|
uid,
|
||||||
actions: vec![Action::AllGet, Action::KeysGet],
|
actions: vec![Action::AllGet, Action::KeysGet],
|
||||||
indexes: vec![IndexUidPattern::all()],
|
indexes: vec![IndexUidPattern::all()],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue