misc: added actor indication

This commit is contained in:
Sheen Capadngan
2025-03-21 19:07:33 +08:00
parent 6f9a66a0d7
commit 6ebc766308

View File

@ -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"
}`;
};