mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 20:51:50 +00:00
misc: finalized error message
This commit is contained in:
@@ -116,7 +116,7 @@ export const groupProjectServiceFactory = ({
|
||||
throw new ForbiddenRequestError({
|
||||
name: "PermissionBoundaryError",
|
||||
message: constructPermissionErrorMessage(
|
||||
"Failed to assign group to a more privileged role",
|
||||
"Failed to assign group to role",
|
||||
membership.shouldUseNewPrivilegeSystem,
|
||||
ProjectPermissionGroupActions.ManagePrivileges,
|
||||
ProjectPermissionSub.Groups
|
||||
@@ -294,7 +294,7 @@ export const groupProjectServiceFactory = ({
|
||||
throw new ForbiddenRequestError({
|
||||
name: "PermissionBoundaryError",
|
||||
message: constructPermissionErrorMessage(
|
||||
"Failed to assign group to a more privileged role",
|
||||
"Failed to assign group to role",
|
||||
membership.shouldUseNewPrivilegeSystem,
|
||||
ProjectPermissionGroupActions.ManagePrivileges,
|
||||
ProjectPermissionSub.Groups
|
||||
|
||||
Reference in New Issue
Block a user