mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Update crates/meilisearch-types/src/keys.rs
Co-authored-by: gui machiavelli <hey@guimachiavelli.com>
This commit is contained in:
@ -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()],
|
||||||
|
Reference in New Issue
Block a user