Skip to content
Snippets Groups Projects
Commit f9620f09 authored by Egor Ivkov's avatar Egor Ivkov
Browse files

fix: mention correct privilege in error message

parent 1d9ef536
No related branches found
No related tags found
1 merge request!870fix: mention correct privilege in error message
Pipeline #32789 passed
...@@ -333,7 +333,7 @@ fn access_check_grant_revoke( ...@@ -333,7 +333,7 @@ fn access_check_grant_revoke(
tarantool::set_error!( tarantool::set_error!(
tarantool::error::TarantoolErrorCode::AccessDenied, tarantool::error::TarantoolErrorCode::AccessDenied,
"Revoke '{}' from '{}' is denied for all users", "Revoke '{}' from '{}' is denied for all users",
PrivilegeType::Login, priv_def.privilege(),
PICO_SERVICE_USER_NAME, PICO_SERVICE_USER_NAME,
); );
return Err(tarantool::error::TarantoolError::last().into()); return Err(tarantool::error::TarantoolError::last().into());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment