forked from vikunja/frontend
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="{ 'is-loading': teamService.loading }"
|
||||
>
|
||||
<card
|
||||
v-if="userIsAdmin"
|
||||
class="is-fullwidth"
|
||||
:title="title"
|
||||
>
|
||||
<card class="is-fullwidth" v-if="userIsAdmin && team.oidcId == 0" :title="title">
|
||||
<form @submit.prevent="save()">
|
||||
<div class="field">
|
||||
<label
|
||||
|
@ -71,15 +67,8 @@
|
|||
</div>
|
||||
</card>
|
||||
|
||||
<card
|
||||
class="is-fullwidth has-overflow"
|
||||
:title="$t('team.edit.members')"
|
||||
:padding="false"
|
||||
>
|
||||
<div
|
||||
v-if="userIsAdmin"
|
||||
class="p-4"
|
||||
>
|
||||
<card class="is-fullwidth has-overflow" :title="$t('team.edit.members')" :padding="false">
|
||||
<div class="p-4" v-if="userIsAdmin && team.oidcId">
|
||||
<div class="field has-addons">
|
||||
<div class="control is-expanded">
|
||||
<Multiselect
|
||||
|
|
Loading…
Reference in New Issue