Uživateli už nelze odebrat roli "Uživatel"

closes #177
Verze_1.0
Josef Rokos 10 years ago
parent 966c9033ef
commit bc5a7a7c4c

@ -96,7 +96,7 @@
<checkbox
label="@load(each.role.description)"
checked="@bind(each.checked)"
disabled="@load(vm.dataBean.username eq 'admin')" />
disabled="@load((vm.dataBean.username eq 'admin') or (each.role.authority eq 'ROLE_USER'))" />
</template>
</vbox>
</groupbox>

Loading…
Cancel
Save