mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 07:04:02 -05:00
feat: updated by review comment
This commit is contained in:
@@ -724,7 +724,7 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
|
||||
.string()
|
||||
.trim()
|
||||
.refine((val) => characterValidator([CharacterType.AlphaNumeric, CharacterType.Hyphen])(val), {
|
||||
message: "Invalid pattern: only alphanumeric characters, spaces, - are allowed."
|
||||
message: "Invalid pattern: only alphanumeric characters, - are allowed."
|
||||
})
|
||||
.optional()
|
||||
}),
|
||||
@@ -771,9 +771,10 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
|
||||
CharacterType.Exclamation
|
||||
])(val),
|
||||
{
|
||||
message: "Invalid pattern: only alphanumeric characters, spaces, - are allowed."
|
||||
message: "Invalid pattern: only alphanumeric characters, spaces, -.!, are allowed."
|
||||
}
|
||||
)
|
||||
.optional()
|
||||
}),
|
||||
response: {
|
||||
200: z.object({
|
||||
|
||||
@@ -176,5 +176,5 @@ export type TSearchProjectsDTO = {
|
||||
export type TProjectAccessRequestDTO = {
|
||||
permission: OrgServiceActor;
|
||||
projectId: string;
|
||||
comment: string;
|
||||
comment?: string;
|
||||
};
|
||||
|
||||
@@ -10,8 +10,6 @@ Users can request access to these projects by submitting a request that automati
|
||||
|
||||
From the Infisical dashboard, users can view all projects within the organization:
|
||||
|
||||
From the Infisical dashboard, users can view all projects within the organization:
|
||||
|
||||
1. Navigate to the main dashboard after logging in
|
||||
2. The overview page for each product displays two tabs:
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ const RequestAccessModal = ({ projectId, onPopUpToggle }: RequestAccessModalProp
|
||||
createNotification({
|
||||
type: "success",
|
||||
title: "Project Access Request Sent",
|
||||
text: "Project admins will receive an email and will grant you access."
|
||||
text: "Projects admins will receive an email of your request"
|
||||
});
|
||||
onPopUpToggle();
|
||||
}
|
||||
@@ -257,14 +257,7 @@ export const AllProjectView = ({ type, onListViewToggle }: Props) => {
|
||||
icon={faFolderOpen}
|
||||
className="mb-4 mt-2 w-full text-center text-5xl text-mineshaft-400"
|
||||
/>
|
||||
<div className="text-center font-light">
|
||||
You are not part of any projects in this organization yet. When you are, they will
|
||||
appear here.
|
||||
</div>
|
||||
<div className="mt-0.5 text-center font-light">
|
||||
Create a new project, or ask other organization members to give you necessary
|
||||
permissions.
|
||||
</div>
|
||||
<div className="text-center font-light">No Projects Found</div>
|
||||
</div>
|
||||
)}
|
||||
<Modal
|
||||
|
||||
Reference in New Issue
Block a user