change wrong permissions
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<p class="text-bold text-h6 text-primary q-pa-md">{{ $t('general') }}</p>
|
<p class="text-bold text-h6 text-primary q-pa-md">{{ $t('general') }}</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-input
|
<q-input
|
||||||
:readonly="!user.isPermittedTo('userSettings', 'write')"
|
:readonly="!user.isPermittedTo('settings', 'write')"
|
||||||
:class="[
|
:class="[
|
||||||
colorGroup ? 'col-md-4' : 'col-md-3',
|
colorGroup ? 'col-md-4' : 'col-md-3',
|
||||||
colorGroup ? 'col-md-6' : 'col-md-6',
|
colorGroup ? 'col-md-6' : 'col-md-6',
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<p class="text-bold text-h6 text-primary q-pa-md">{{ $t('database') }}</p>
|
<p class="text-bold text-h6 text-primary q-pa-md">{{ $t('database') }}</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-input
|
<q-input
|
||||||
:readonly="!user.isPermittedTo('userSettings', 'write')"
|
:readonly="!user.isPermittedTo('settings', 'write')"
|
||||||
:class="[
|
:class="[
|
||||||
colorGroup ? 'col-md-4' : 'col-md-3',
|
colorGroup ? 'col-md-4' : 'col-md-3',
|
||||||
colorGroup ? 'col-md-6' : 'col-md-6',
|
colorGroup ? 'col-md-6' : 'col-md-6',
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
<div class="col-12 col-sm-6 col-md-3 q-px-md">
|
<div class="col-12 col-sm-6 col-md-3 q-px-md">
|
||||||
<p class="text-center text-bold text-h6 text-primary">{{ $t('primaryColor') }}</p>
|
<p class="text-center text-bold text-h6 text-primary">{{ $t('primaryColor') }}</p>
|
||||||
<q-color
|
<q-color
|
||||||
:disable="!user.isPermittedTo('userSettings', 'write')"
|
:disable="!user.isPermittedTo('settings', 'write')"
|
||||||
bordered
|
bordered
|
||||||
class="q-mx-md"
|
class="q-mx-md"
|
||||||
v-model="settings.primaryColor"
|
v-model="settings.primaryColor"
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
{{ $t('primaryColorText') }}
|
{{ $t('primaryColorText') }}
|
||||||
</p>
|
</p>
|
||||||
<q-color
|
<q-color
|
||||||
:disable="!user.isPermittedTo('userSettings', 'write')"
|
:disable="!user.isPermittedTo('settings', 'write')"
|
||||||
bordered
|
bordered
|
||||||
class="q-mx-md"
|
class="q-mx-md"
|
||||||
v-model="settings.primaryColorText"
|
v-model="settings.primaryColorText"
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
{{ $t('secondaryColor') }}
|
{{ $t('secondaryColor') }}
|
||||||
</p>
|
</p>
|
||||||
<q-color
|
<q-color
|
||||||
:disable="!user.isPermittedTo('userSettings', 'write')"
|
:disable="!user.isPermittedTo('settings', 'write')"
|
||||||
class="q-mx-md"
|
class="q-mx-md"
|
||||||
v-model="settings.secondaryColor"
|
v-model="settings.secondaryColor"
|
||||||
></q-color>
|
></q-color>
|
||||||
@@ -105,14 +105,14 @@
|
|||||||
{{ $t('secondaryColorText') }}
|
{{ $t('secondaryColorText') }}
|
||||||
</p>
|
</p>
|
||||||
<q-color
|
<q-color
|
||||||
:disable="!user.isPermittedTo('userSettings', 'write')"
|
:disable="!user.isPermittedTo('settings', 'write')"
|
||||||
class="q-mx-md"
|
class="q-mx-md"
|
||||||
v-model="settings.secondaryColorText"
|
v-model="settings.secondaryColorText"
|
||||||
></q-color>
|
></q-color>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<q-btn
|
<q-btn
|
||||||
:disable="!user.isPermittedTo('userSettings', 'write')"
|
:disable="!user.isPermittedTo('settings', 'write')"
|
||||||
class="q-my-md q-mx-md"
|
class="q-my-md q-mx-md"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
dense
|
dense
|
||||||
|
|||||||
Reference in New Issue
Block a user