misc: added actor indication

This commit is contained in:
Sheen Capadngan
2025-03-21 19:07:33 +08:00
parent 6f9a66a0d7
commit 6ebc766308
@@ -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"
}`; }`;
}; };