entferne ADMIN_HELIPORT und ADMIN_EVENT berechtigung für CGs
This commit is contained in:
@@ -189,20 +189,9 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({ user }: ProfileFormPro
|
|||||||
type="button"
|
type="button"
|
||||||
className="btn btn-sm btn-outline"
|
className="btn btn-sm btn-outline"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
form.setValue(
|
form.setValue("permissions", ["LOGIN_NEXTCLOUD", "PILOT", "DISPO", "AUDIO"], {
|
||||||
"permissions",
|
|
||||||
[
|
|
||||||
"LOGIN_NEXTCLOUD",
|
|
||||||
"PILOT",
|
|
||||||
"DISPO",
|
|
||||||
"AUDIO",
|
|
||||||
"ADMIN_EVENT",
|
|
||||||
"ADMIN_HELIPORT",
|
|
||||||
],
|
|
||||||
{
|
|
||||||
shouldDirty: true,
|
shouldDirty: true,
|
||||||
},
|
})
|
||||||
)
|
|
||||||
}
|
}
|
||||||
onSubmit={() => false}
|
onSubmit={() => false}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user