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