feat: resolved nits

This commit is contained in:
=
2025-02-01 01:55:49 +05:30
parent 1d57629036
commit 757942aefc
5 changed files with 9 additions and 9 deletions
@@ -95,7 +95,7 @@ export const identityProjectServiceFactory = ({
if (!permissionBoundary.isValid)
throw new ForbiddenRequestError({
name: "PermissionBoundaryError",
message: "Failed to change to a more privileged role",
message: "Failed to assign to a more privileged role",
details: { missingPermissions: permissionBoundary.missingPermissions }
});
}
@@ -287,7 +287,7 @@ export const identityProjectServiceFactory = ({
if (!permissionBoundary.isValid)
throw new ForbiddenRequestError({
name: "PermissionBoundaryError",
message: "Failed to delete more privileged identity",
message: "Failed to remove more privileged identity",
details: { missingPermissions: permissionBoundary.missingPermissions }
});