This commit is contained in:
2022-07-15 23:09:02 +00:00
parent 1918ac85dc
commit 2c7307e495
3 changed files with 7 additions and 7 deletions

View File

@@ -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",

View File

@@ -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,

View File

@@ -72,7 +72,7 @@ function generateMenu() {
isMain: true,
icon: "$ayiCampground",
title: "IntegrationList",
helpUrl: "integrations",
helpUrl: "adm-integrations",
menuItems: [],
formData: {
ayaType: window.$gz.type.Integration