mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
chore(groups): Enable updating groups without roles or providers (#6498)
This commit is contained in:
@@ -112,10 +112,6 @@ export const AddGroupForm = ({
|
||||
onSubmit={form.handleSubmit(onSubmitClient)}
|
||||
className="flex flex-col space-y-4"
|
||||
>
|
||||
{/* Name Field */}
|
||||
<p className="text-small font-bold text-default-700">
|
||||
Provide a name for the group:
|
||||
</p>
|
||||
<div className="flex flex-col gap-2">
|
||||
<CustomInput
|
||||
control={form.control}
|
||||
@@ -153,7 +149,7 @@ export const AddGroupForm = ({
|
||||
)}
|
||||
<Divider orientation="horizontal" className="mb-2" />
|
||||
|
||||
<p className="text-small font-medium text-default-700">
|
||||
<p className="text-small text-default-500">
|
||||
Roles can also be associated with the group. This step is optional and
|
||||
can be completed later if needed or from the Roles page.
|
||||
</p>
|
||||
|
||||
@@ -142,10 +142,6 @@ export const EditGroupForm = ({
|
||||
onSubmit={form.handleSubmit(onSubmitClient)}
|
||||
className="flex flex-col space-y-4"
|
||||
>
|
||||
<p className="text-small font-bold text-default-700">
|
||||
Edit the group name or associated providers:
|
||||
</p>
|
||||
|
||||
{/* Field for the name */}
|
||||
<div className="flex flex-col gap-2">
|
||||
<CustomInput
|
||||
@@ -199,7 +195,7 @@ export const EditGroupForm = ({
|
||||
)}
|
||||
|
||||
<Divider orientation="horizontal" className="mb-2" />
|
||||
<p className="text-small font-medium text-default-700">
|
||||
<p className="text-small text-default-500">
|
||||
The roles associated with the group can be edited directly here or
|
||||
from the Roles page.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user