make sso teams non editable by neither admin nor team members (except for leaving team)
This commit is contained in:
parent
75d6387e20
commit
0b8d8c09c8
|
@ -3,11 +3,7 @@
|
||||||
class="loader-container is-max-width-desktop"
|
class="loader-container is-max-width-desktop"
|
||||||
:class="{ 'is-loading': teamService.loading }"
|
:class="{ 'is-loading': teamService.loading }"
|
||||||
>
|
>
|
||||||
<card
|
<card class="is-fullwidth" v-if="userIsAdmin && team.oidcId == 0" :title="title">
|
||||||
v-if="userIsAdmin"
|
|
||||||
class="is-fullwidth"
|
|
||||||
:title="title"
|
|
||||||
>
|
|
||||||
<form @submit.prevent="save()">
|
<form @submit.prevent="save()">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label
|
<label
|
||||||
|
@ -71,15 +67,8 @@
|
||||||
</div>
|
</div>
|
||||||
</card>
|
</card>
|
||||||
|
|
||||||
<card
|
<card class="is-fullwidth has-overflow" :title="$t('team.edit.members')" :padding="false">
|
||||||
class="is-fullwidth has-overflow"
|
<div class="p-4" v-if="userIsAdmin && team.oidcId">
|
||||||
:title="$t('team.edit.members')"
|
|
||||||
:padding="false"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
v-if="userIsAdmin"
|
|
||||||
class="p-4"
|
|
||||||
>
|
|
||||||
<div class="field has-addons">
|
<div class="field has-addons">
|
||||||
<div class="control is-expanded">
|
<div class="control is-expanded">
|
||||||
<Multiselect
|
<Multiselect
|
||||||
|
|
Reference in New Issue