diff --git a/i18n/en.pot b/i18n/en.pot index 7aa9e0163..4011e09c2 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -7,6 +7,8 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "POT-Creation-Date: 2024-01-17T09:36:40.909Z\n" "PO-Revision-Date: 2024-01-17T09:36:40.909Z\n" +"POT-Creation-Date: 2024-03-27T09:03:25.496Z\n" +"PO-Revision-Date: 2024-03-27T09:03:25.496Z\n" msgid "Yes" msgstr "Yes" @@ -710,6 +712,9 @@ msgstr "There was an error fetching this user." msgid "Edit user" msgstr "Edit user" +msgid "You do not have access to edit this user group" +msgstr "You do not have access to edit this user group" + msgid "Overview" msgstr "Overview" diff --git a/src/pages/GroupDetails/GroupDetails.js b/src/pages/GroupDetails/GroupDetails.js index d64822ec3..b0f827be2 100644 --- a/src/pages/GroupDetails/GroupDetails.js +++ b/src/pages/GroupDetails/GroupDetails.js @@ -34,6 +34,12 @@ const GroupDetails = ({ groupId }) => { return (
+ {!group?.access?.write && ( + + {i18n.t('You do not have access to edit this user group')} + + )} +