Hi,
Version: Centreon 23.04.9
i want to add a user ( viewer) to an existing dashboard.
Error
no sufficient access rights to user e26] to give role leditor]
who is user s26]…
when i usw another user, the same issue
Hi,
Version: Centreon 23.04.9
i want to add a user ( viewer) to an existing dashboard.
Error
no sufficient access rights to user e26] to give role leditor]
who is user s26]…
when i usw another user, the same issue
centreon-web.log
>2025-01-16T12:55:07+0100] ERROR] Core\Dashboard\Application\UseCase\ShareDashboard\ShareDashboard:122]: No sufficient access rights to user 26] to give role editor] {"trace":"Core\\Dashboard\\Application\\Exception\\DashboardException: No sufficient access rights to user 26] to give role editor] in /usr/share/centreon/src/Core/Dashboard/Application/Exception/DashboardException.php:237\nStack trace:\n#0 /usr/share/centreon/src/Core/Dashboard/Application/UseCase/ShareDashboard/ShareDashboardValidator.php(248): Core\\Dashboard\\Application\\Exception\\DashboardException::notSufficientAccessRightForUser()\n#1 /usr/share/centreon/src/Core/Dashboard/Application/UseCase/ShareDashboard/ShareDashboardValidator.php(119): Core\\Dashboard\\Application\\UseCase\\ShareDashboard\\ShareDashboardValidator->validateContactsHaveSufficientRightForSharingRole()\n#2 /usr/share/centreon/src/Core/Dashboard/Application/UseCase/ShareDashboard/ShareDashboard.php(89): Core\\Dashboard\\Application\\UseCase\\ShareDashboard\\ShareDashboardValidator->validateContacts()\n#3 /usr/share/centreon/src/Core/Dashboard/Infrastructure/API/ShareDashboard/ShareDashboardController.php(41): Core\\Dashboard\\Application\\UseCase\\ShareDashboard\\ShareDashboard->__invoke()\n#4 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(181): Core\\Dashboard\\Infrastructure\\API\\ShareDashboard\\ShareDashboardController->__invoke()\n#5 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#6 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#7 /usr/share/centreon/api/index.php(47): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#8 {main}"}
i upgrade to 24.10.3 .. the same issue
I
Could you please check the rights of the users to which you are sharing the dashboard ?
For instance if you share a dashboard with Editor Role to a user that as only a Viewer role you will get the message displayed in your screenshot.
Regards
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.