mirror of
https://github.com/Infisical/infisical.git
synced 2025-04-17 19:37:38 +00:00
misc: added actor indication
This commit is contained in:
@ -189,8 +189,8 @@ const constructPermissionErrorMessage = (
|
||||
) => {
|
||||
return `${baseMessage}${
|
||||
shouldUseNewPrivilegeSystem
|
||||
? `. Missing permission ${opAction as string} on ${opSubject as string}`
|
||||
: ". Privilege level is not high enough to perform this action"
|
||||
? `. Actor is missing permission ${opAction as string} on ${opSubject as string}`
|
||||
: ". Actor privilege level is not high enough to perform this action"
|
||||
}`;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user