mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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