Skip to content

Commit

Permalink
Update log phrase according to Google documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ccorsin committed Sep 9, 2024
1 parent ffb84d5 commit cfb9e49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crate/server/src/routes/google_cse/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ pub(crate) async fn validate_tokens(
kms_ensure!(
roles.contains(&role.as_str()),
KmsError::Unauthorized(
"Authorization token should contain a role of writer or owner".to_string()
"Authorization token should contain a role of writer, upgrader (for encryption) \
or reader (for decryption)"
.to_string()
)
);
}
Expand Down

0 comments on commit cfb9e49

Please sign in to comment.