From f247d6975be3d15ea9ce0535bed7d89f04e4fbf0 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 20 Jun 2023 11:32:12 -0700 Subject: [PATCH] Form Builder - Clarify "Security" options Follow-up to 54354d0430b2331bd8c80f1b5c868b2c668624f1, which was a small thing thrown into the bigger #24832 Before ------ * Originally, "Security" options were labeled as "Role-Based" (RBAC) and "Form-Based" (FBAC) * This is confusing, because it packs a subtle distinction into two phrases which are slightly jargony. * Currently, "Security" options are labeled as "Enforce Permissions" (RBAC) and "Open Access" (FBAC) * This is confusing, because "Open Access" wrongly suggests that the access is, well, open. (It's actually dependent on the overall configuration.) After ----- * Security is "User-Based" or "Form-Based" * There is also a longer description. --- ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js index 17c2ef2960..73ab209afe 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js @@ -44,8 +44,8 @@ }; this.securityModes = [ - {id: 'RBAC', icon: 'fa-lock', text: ts('Enforce Permissions')}, - {id: 'FBAC', icon: 'fa-unlock', text: ts('Open Access')}, + {id: 'RBAC', icon: 'fa-user', text: ts('User-Based'), description: ts('Inherit permissions based on the current user or role')}, + {id: 'FBAC', icon: 'fa-file-text', text: ts('Form-Based'), description: ts('Allow access to any fields listed on the form')}, ]; // Above mode for use with getterSetter -- 2.25.1