From 81d75ce266892dcad8bf3f101ea29f6ac6dea1ea Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 2 Mar 2020 23:05:33 +0000 Subject: [PATCH] --- devdocs/specs/core-customize-form-fields.txt | 1 + devdocs/specs/core-localization.txt | 1 + server/AyaNova/biz/BizRoles.cs | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/devdocs/specs/core-customize-form-fields.txt b/devdocs/specs/core-customize-form-fields.txt index f9673821..a9f849e8 100644 --- a/devdocs/specs/core-customize-form-fields.txt +++ b/devdocs/specs/core-customize-form-fields.txt @@ -12,6 +12,7 @@ CASES REQUIREMENTS UI FEATURE - The ability to customize forms: + - ROLE RIGHTS: BizAdminFull only can edit. BizAdminLimited can view but not change - A "Customize" option in the Action bar menu | that is accessible to people of BizAdminFull role only - If a dispatcher needs a custom field set on a workorder, a bizadminfull user must login and set that up for them - When customize is selected a generic form pops up with a list of fields provided by the backend and their current settings and controls diff --git a/devdocs/specs/core-localization.txt b/devdocs/specs/core-localization.txt index 1bdad071..2d343bfc 100644 --- a/devdocs/specs/core-localization.txt +++ b/devdocs/specs/core-localization.txt @@ -2,6 +2,7 @@ REQUIREMENTS + - ROLE RIGHTS: BizAdminFull only can edit. BizAdminLimited can view but not change - CENTRAL LOCALE EDIT FORM - End user customizes localizations from a central location with a kick ass search and change ability - We will *not* support localization changes form by form as in v7 but only from central location diff --git a/server/AyaNova/biz/BizRoles.cs b/server/AyaNova/biz/BizRoles.cs index ffbbd104..74dafdc1 100644 --- a/server/AyaNova/biz/BizRoles.cs +++ b/server/AyaNova/biz/BizRoles.cs @@ -126,6 +126,8 @@ namespace AyaNova.Biz roles.Add(AyaType.Locale, new BizRoleSet() { Change = AuthorizationRoles.BizAdminFull | AuthorizationRoles.OpsAdminFull, + //Anyone can read it because they need to to open a form, but also in UI + //only the bizadminlimited actually gets a link to see teh customization page ReadFullRecord = AuthorizationRoles.All }); @@ -148,6 +150,8 @@ namespace AyaNova.Biz { //Only BizAdminFull can modify forms Change = AuthorizationRoles.BizAdminFull, + //Anyone can read it because they need to to open a form, but also in UI + //only the bizadminlimited actually gets a link to see teh customization page ReadFullRecord = AuthorizationRoles.All });