From 364728bb7d2e76fbd019b6ecdba6e3889f8c950e Mon Sep 17 00:00:00 2001 From: Iago Espinoza Date: Thu, 11 Jun 2026 17:02:51 -0300 Subject: [PATCH] Add admin warning about upcoming License Manager permission requirement Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 4 ++++ messages/en.json | 3 ++- messages/pt.json | 3 ++- react/NotifyAdmin.tsx | 11 +++++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aa409c7..3d15476d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Warning message in the admin panel informing that Download Requests and Process Unsent will require a License Manager resource starting on a date to be defined. + ## [1.14.2] - 2026-05-05 ### Fixed diff --git a/messages/en.json b/messages/en.json index 6e374757..aee1b4cc 100644 --- a/messages/en.json +++ b/messages/en.json @@ -18,5 +18,6 @@ "admin/settings.process-unsent-helptext": "Process all unsent requests to notify and download an XLS file of the results.", "admin/settings.verify-availability-helptext": "Runs a shipping simulation to verify that the item can be shipped to the shopper before sending a notification.", "admin/settings.marketplace-to-notify-helptext": "Allows a seller account to specify a comma separated list of marketplace account names to notify of inventory updates.", - "admin/settings.label": "Settings" + "admin/settings.label": "Settings", + "admin/settings.permission-warning": "Starting dd/mm/yyyy, accessing Download Requests and Process Unsent will require the [resource-name] resource in License Manager. Make sure the users who need this feature have the appropriate role assigned." } diff --git a/messages/pt.json b/messages/pt.json index ffd2de9c..9aa6bb2d 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -18,5 +18,6 @@ "admin/settings.process-unsent-helptext": "Process all unsent requests to notify and download an XLS file of the results.", "admin/settings.verify-availability-helptext": "Runs a shipping simulation to verify that the item can be shipped to the shopper before sending a notificaiton.", "admin/settings.marketplace-to-notify-helptext": "Allows a seller account to specify a comma separated list of marketplace account names to notify of inventory updates.", - "admin/settings.label": "Settings" + "admin/settings.label": "Settings", + "admin/settings.permission-warning": "A partir de dd/mm/yyyy, o acesso ao Download Requests e ao Process Unsent exigirá o recurso [resource-name] no License Manager. Certifique-se de que os usuários que precisam dessa funcionalidade tenham a role adequada atribuída." } diff --git a/react/NotifyAdmin.tsx b/react/NotifyAdmin.tsx index ad8c16ff..8aa8db71 100644 --- a/react/NotifyAdmin.tsx +++ b/react/NotifyAdmin.tsx @@ -4,6 +4,7 @@ import type { FC } from 'react' import React, { useState, useEffect } from 'react' import { injectIntl, defineMessages } from 'react-intl' import { + Alert, ToastProvider, ToastConsumer, Layout, @@ -64,6 +65,11 @@ const messages = defineMessages({ id: 'admin/settings.label', defaultMessage: 'Settings', }, + permissionWarning: { + id: 'admin/settings.permission-warning', + defaultMessage: + 'Starting dd/mm/yyyy, accessing Download Requests and Process Unsent will require the [resource-name] resource in License Manager. Make sure the users who need this feature have the appropriate role assigned.', + }, downloadHelptext: { id: 'admin/settings.download-helptext', defaultMessage: 'Download an XLS file of all notify request records.', @@ -297,6 +303,11 @@ const NotifyAdmin: FC = ({ intl }: Props) => {
+
+ + {intl.formatMessage(messages.permissionWarning)} + +