Skip to content

Commit 1f1de25

Browse files
committed
show note for access control
1 parent a4d928b commit 1f1de25

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

apps/frontend/src/components/forms/account/FormAccountGeneral.vue

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,18 @@ const tabs = computed(() => {
210210
placeholder="Passwort eingeben"
211211
required
212212
/>
213-
<BasicSelect
214-
id="accountRole"
215-
v-model="accountForm.roleId"
216-
required
217-
label="Rolle"
218-
:options="roles"
219-
/>
213+
<div>
214+
<BasicSelect
215+
id="accountRole"
216+
v-model="accountForm.roleId"
217+
required
218+
label="Rolle"
219+
:options="roles"
220+
/>
221+
<p v-if="accountForm.roleId === 'GLIEDERUNG_ADMIN'" class="text-warning-500 mb-0 mt-1 text-sm">
222+
Um Berechtigungen für Gliederungen zu vergeben, nutze die Seite <b>Berechtigungen</b>
223+
</p>
224+
</div>
220225
<BasicDropdown
221226
:right="false"
222227
:append="true"

0 commit comments

Comments
 (0)