mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 20:21:18 +00:00
misc: finalized error message
This commit is contained in:
@@ -100,7 +100,7 @@ export const groupServiceFactory = ({
|
||||
throw new ForbiddenRequestError({
|
||||
name: "PermissionBoundaryError",
|
||||
message: constructPermissionErrorMessage(
|
||||
"Failed to create a more privileged group",
|
||||
"Failed to create group",
|
||||
membership.shouldUseNewPrivilegeSystem,
|
||||
OrgPermissionGroupActions.ManagePrivileges,
|
||||
OrgPermissionSubjects.Groups
|
||||
@@ -185,7 +185,7 @@ export const groupServiceFactory = ({
|
||||
throw new ForbiddenRequestError({
|
||||
name: "PermissionBoundaryError",
|
||||
message: constructPermissionErrorMessage(
|
||||
"Failed to update a more privileged group",
|
||||
"Failed to update group",
|
||||
membership.shouldUseNewPrivilegeSystem,
|
||||
OrgPermissionGroupActions.ManagePrivileges,
|
||||
OrgPermissionSubjects.Groups
|
||||
|
||||
Reference in New Issue
Block a user