This commit is contained in:
@@ -686,7 +686,10 @@ function initNavPanel() {
|
||||
}
|
||||
|
||||
//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({
|
||||
title: "IntegrationList",
|
||||
icon: "$ayiCampground",
|
||||
|
||||
@@ -8,12 +8,9 @@
|
||||
<v-text-field
|
||||
ref="name"
|
||||
v-model="obj.name"
|
||||
:readonly="formState.readOnly"
|
||||
:readonly="true"
|
||||
:label="$ay.t('IntegrationName')"
|
||||
:rules="[form().required(this, 'name')]"
|
||||
:error-messages="form().serverErrors(this, 'name')"
|
||||
data-cy="name"
|
||||
@input="fieldValueChanged('name')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
@@ -355,7 +352,7 @@ function generateMenu(vm) {
|
||||
hideSearch: true,
|
||||
icon: "$ayiCampground",
|
||||
title: "Integration",
|
||||
helpUrl: "integrations",
|
||||
helpUrl: "adm-integrations",
|
||||
formData: {
|
||||
ayaType: window.$gz.type.Integration,
|
||||
recordId: vm.$route.params.recordid,
|
||||
|
||||
@@ -72,7 +72,7 @@ function generateMenu() {
|
||||
isMain: true,
|
||||
icon: "$ayiCampground",
|
||||
title: "IntegrationList",
|
||||
helpUrl: "integrations",
|
||||
helpUrl: "adm-integrations",
|
||||
menuItems: [],
|
||||
formData: {
|
||||
ayaType: window.$gz.type.Integration
|
||||
|
||||
Reference in New Issue
Block a user