From f1e8326409243394e6af362e8c3115c4425b78c0 Mon Sep 17 00:00:00 2001 From: Pete Littlewood Date: Tue, 16 Sep 2025 14:15:00 +0100 Subject: [PATCH 1/2] feat: update text on edit user group page in rc service app to describe internal groups --- .../__tests__/__snapshots__/edit-user-groups.test.tsx.snap | 4 ++-- .../rc-service/src/components/users/edit-user-groups.tsx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/rc-service/src/components/users/__tests__/__snapshots__/edit-user-groups.test.tsx.snap b/packages/rc-service/src/components/users/__tests__/__snapshots__/edit-user-groups.test.tsx.snap index 3b57e6ac50..42c06ebddc 100644 --- a/packages/rc-service/src/components/users/__tests__/__snapshots__/edit-user-groups.test.tsx.snap +++ b/packages/rc-service/src/components/users/__tests__/__snapshots__/edit-user-groups.test.tsx.snap @@ -17,7 +17,7 @@ exports[`UpdateUserModal should match a snapshot where there is data 1`] = `

- Please use the section below to manage which groups this user belongs to: + Please use the section below to manage which groups this user belongs to. Groups in highlighted red are internal groups only and should be used with caution as they grant elevated access in different applications. If you do not understand a particular group, please seek appropriate advice and do not proceed.

- Please use the section below to manage which groups this user belongs to: + Please use the section below to manage which groups this user belongs to. Groups in highlighted red are internal groups only and should be used with caution as they grant elevated access in different applications. If you do not understand a particular group, please seek appropriate advice and do not proceed.

= ({ refreshUsers, user, us return (
Edit User Groups - Please use the section below to manage which groups this user belongs to: + + Please use the section below to manage which groups this user belongs to. Groups in highlighted red are internal + groups only and should be used with caution as they grant elevated access in different applications. If you do + not understand a particular group, please seek appropriate advice and do not proceed. + Date: Tue, 16 Sep 2025 16:41:26 +0100 Subject: [PATCH 2/2] feat: tone down the red pill colour --- packages/rc-service/src/components/users/edit-user-groups.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rc-service/src/components/users/edit-user-groups.tsx b/packages/rc-service/src/components/users/edit-user-groups.tsx index 38cb664888..2bb4dd640d 100644 --- a/packages/rc-service/src/components/users/edit-user-groups.tsx +++ b/packages/rc-service/src/components/users/edit-user-groups.tsx @@ -90,7 +90,7 @@ const updateGroupStyles = (userGroups: GroupModel[]) => { // @ts-ignore if (group.type !== 'internal') return const specificElement = inputElements.find((element) => element.textContent === group.id) - specificElement?.setAttribute('style', 'background: red; color: white') + specificElement?.setAttribute('style', 'background: #D1263D; color: white') }) }