From 6dd4cb50b4155ee7db8af0d852081102adcb4819 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 10 Jun 2021 19:32:24 +0000 Subject: [PATCH] --- ayanova/src/api/authorizationroles.js | 10 ++ ayanova/src/views/customer-workorder.vue | 151 +++++++++++++++++++++++ 2 files changed, 161 insertions(+) create mode 100644 ayanova/src/views/customer-workorder.vue diff --git a/ayanova/src/api/authorizationroles.js b/ayanova/src/api/authorizationroles.js index 84f22c35..79904ad9 100644 --- a/ayanova/src/api/authorizationroles.js +++ b/ayanova/src/api/authorizationroles.js @@ -95,6 +95,16 @@ export default { delete: true }; }, + /////////////////////////////////////////////////////////////////////// + // Get a read only rights object (customer workorder for example) + // + readOnlyRightsObject() { + return { + change: false, + read: true, + delete: false + }; + }, ///////////////////////////////// // aType is the name of the object type as defined in ayatype.js // diff --git a/ayanova/src/views/customer-workorder.vue b/ayanova/src/views/customer-workorder.vue new file mode 100644 index 00000000..6b2082c6 --- /dev/null +++ b/ayanova/src/views/customer-workorder.vue @@ -0,0 +1,151 @@ + + +