This commit is contained in:
@@ -686,7 +686,10 @@ function initNavPanel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//INTEGRATION
|
//INTEGRATION
|
||||||
if (!licenseLockout && window.$gz.role.canOpen(window.$gz.type.Integration)) {
|
//decision here is that only teh biz admin can *control* or remove an integration
|
||||||
|
//even though all full role inside users can create or edit integrations (just not through the AyaNova user interface)
|
||||||
|
//this is required to support integrations made for various roles like inventory accounting etc
|
||||||
|
if (!licenseLockout && window.$gz.role.canOpen(window.$gz.type.Global)) {
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "IntegrationList",
|
title: "IntegrationList",
|
||||||
icon: "$ayiCampground",
|
icon: "$ayiCampground",
|
||||||
|
|||||||
@@ -8,12 +8,9 @@
|
|||||||
<v-text-field
|
<v-text-field
|
||||||
ref="name"
|
ref="name"
|
||||||
v-model="obj.name"
|
v-model="obj.name"
|
||||||
:readonly="formState.readOnly"
|
:readonly="true"
|
||||||
:label="$ay.t('IntegrationName')"
|
:label="$ay.t('IntegrationName')"
|
||||||
:rules="[form().required(this, 'name')]"
|
|
||||||
:error-messages="form().serverErrors(this, 'name')"
|
|
||||||
data-cy="name"
|
data-cy="name"
|
||||||
@input="fieldValueChanged('name')"
|
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
@@ -355,7 +352,7 @@ function generateMenu(vm) {
|
|||||||
hideSearch: true,
|
hideSearch: true,
|
||||||
icon: "$ayiCampground",
|
icon: "$ayiCampground",
|
||||||
title: "Integration",
|
title: "Integration",
|
||||||
helpUrl: "integrations",
|
helpUrl: "adm-integrations",
|
||||||
formData: {
|
formData: {
|
||||||
ayaType: window.$gz.type.Integration,
|
ayaType: window.$gz.type.Integration,
|
||||||
recordId: vm.$route.params.recordid,
|
recordId: vm.$route.params.recordid,
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ function generateMenu() {
|
|||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "$ayiCampground",
|
icon: "$ayiCampground",
|
||||||
title: "IntegrationList",
|
title: "IntegrationList",
|
||||||
helpUrl: "integrations",
|
helpUrl: "adm-integrations",
|
||||||
menuItems: [],
|
menuItems: [],
|
||||||
formData: {
|
formData: {
|
||||||
ayaType: window.$gz.type.Integration
|
ayaType: window.$gz.type.Integration
|
||||||
|
|||||||
Reference in New Issue
Block a user