mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
small rephrase
This commit is contained in:
@@ -722,14 +722,14 @@ export const AUDIT_LOG_STREAMS = {
|
||||
|
||||
export const PROJECT_ROLE = {
|
||||
CREATE: {
|
||||
projectSlug: "The slug of the project to create role.",
|
||||
projectSlug: "Slug of the project to create the role for.",
|
||||
slug: "The slug of the role.",
|
||||
name: "The name of the role.",
|
||||
description: "The description for the role.",
|
||||
permissions: "The permissions assigned to the role."
|
||||
},
|
||||
UPDATE: {
|
||||
projectSlug: "The slug of the project to update role.",
|
||||
projectSlug: "Slug of the project to update the role for.",
|
||||
roleId: "The ID of the role to update",
|
||||
slug: "The slug of the role.",
|
||||
name: "The name of the role.",
|
||||
@@ -737,7 +737,7 @@ export const PROJECT_ROLE = {
|
||||
permissions: "The permissions assigned to the role."
|
||||
},
|
||||
DELETE: {
|
||||
projectSlug: "The slug of the project to delete role.",
|
||||
projectSlug: "Slug of the project to delete the role for.",
|
||||
roleId: "The ID of the role to update"
|
||||
},
|
||||
GET_ROLE_BY_SLUG: {
|
||||
@@ -745,6 +745,6 @@ export const PROJECT_ROLE = {
|
||||
roleSlug: "The slug of the role to get details"
|
||||
},
|
||||
LIST: {
|
||||
projectSlug: "The slug of the project to list roles."
|
||||
projectSlug: "The slug of the project to list the roles for."
|
||||
}
|
||||
};
|
||||
|
||||
@@ -45,7 +45,7 @@ const getPredefinedRoles = (projectId: string, roleFilter?: ProjectMembershipRol
|
||||
name: "Admin",
|
||||
slug: ProjectMembershipRole.Admin,
|
||||
permissions: projectAdminPermissions,
|
||||
description: "Complete administration access over the project",
|
||||
description: "Full administrative access over a project",
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date()
|
||||
},
|
||||
@@ -55,7 +55,7 @@ const getPredefinedRoles = (projectId: string, roleFilter?: ProjectMembershipRol
|
||||
name: "Developer",
|
||||
slug: ProjectMembershipRole.Member,
|
||||
permissions: projectMemberPermissions,
|
||||
description: "Non-administrative role in an project",
|
||||
description: "Limited read/write role in a project",
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date()
|
||||
},
|
||||
@@ -65,7 +65,7 @@ const getPredefinedRoles = (projectId: string, roleFilter?: ProjectMembershipRol
|
||||
name: "Viewer",
|
||||
slug: ProjectMembershipRole.Viewer,
|
||||
permissions: projectViewerPermission,
|
||||
description: "Non-administrative role in an project",
|
||||
description: "Only read role in a project",
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user