Magento 2: disable system warning messages in Admin Panel for some user
Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?
magento2 admin admin-panel messages
add a comment |
Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?
magento2 admin admin-panel messages
add a comment |
Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?
magento2 admin admin-panel messages
Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?
magento2 admin admin-panel messages
magento2 admin admin-panel messages
asked Apr 7 '16 at 21:24
AndreaAndrea
1,10611026
1,10611026
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Login to your Admin
Navigate to:
Stores > Configuration > Advanced > Advanced
Disable Admin Notifications by
Disable Modules Output > Magento_AdminNotification > Set to Disable
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
add a comment |
Create a new role here if you have not created already System->User Roles->Role Resources
If you have already created it then do the following
System->User Roles->Role Resources (tab) from Resource Access drop down under system folder tree find the Other Settings now you can see Notifications you may enable/disablehere save the role and assign this role for specific users.
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
add a comment |
You can use user-role specific handles from this module https://github.com/TheFrankman/magento2-customhandles (very handy anyway)
and then remove the block via layout:
<referenceBlock name="notification.messages" remove="true"></referenceBlock>
add a comment |
Until a proper fix can be rolled out, I created a userscript to fix this problem using Tampermonkey. For those that do not know what Tampermonkey is, it is a userscript manager browser extension, that allows users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
Here is the script
https://github.com/EnochDataSystems/gists/blob/master/magento2-system_messages-fix.js
The script will reduce the width of the systemMessageBlock and move it to the top left corner. When the systemMessageBlock is loaded, it will hover over any text or elements in that corner, but after 5 seconds it will fade away.
This is an easy quick fix and doesn't involve touching the Magento code.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f110030%2fmagento-2-disable-system-warning-messages-in-admin-panel-for-some-user%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Login to your Admin
Navigate to:
Stores > Configuration > Advanced > Advanced
Disable Admin Notifications by
Disable Modules Output > Magento_AdminNotification > Set to Disable
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
add a comment |
Login to your Admin
Navigate to:
Stores > Configuration > Advanced > Advanced
Disable Admin Notifications by
Disable Modules Output > Magento_AdminNotification > Set to Disable
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
add a comment |
Login to your Admin
Navigate to:
Stores > Configuration > Advanced > Advanced
Disable Admin Notifications by
Disable Modules Output > Magento_AdminNotification > Set to Disable
Login to your Admin
Navigate to:
Stores > Configuration > Advanced > Advanced
Disable Admin Notifications by
Disable Modules Output > Magento_AdminNotification > Set to Disable
answered Apr 8 '16 at 1:30
Joshua34Joshua34
1,5091020
1,5091020
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
add a comment |
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Thank you for the answer.. You solution works, but it disable notifications for all users.. If it is possible, I would like to disable them only for specific users.
– Andrea
Apr 8 '16 at 12:42
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
Does not work since Version 2.2 magento.stackexchange.com/questions/197280/…
– ZFNerd
Mar 15 '18 at 9:41
add a comment |
Create a new role here if you have not created already System->User Roles->Role Resources
If you have already created it then do the following
System->User Roles->Role Resources (tab) from Resource Access drop down under system folder tree find the Other Settings now you can see Notifications you may enable/disablehere save the role and assign this role for specific users.
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
add a comment |
Create a new role here if you have not created already System->User Roles->Role Resources
If you have already created it then do the following
System->User Roles->Role Resources (tab) from Resource Access drop down under system folder tree find the Other Settings now you can see Notifications you may enable/disablehere save the role and assign this role for specific users.
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
add a comment |
Create a new role here if you have not created already System->User Roles->Role Resources
If you have already created it then do the following
System->User Roles->Role Resources (tab) from Resource Access drop down under system folder tree find the Other Settings now you can see Notifications you may enable/disablehere save the role and assign this role for specific users.
Create a new role here if you have not created already System->User Roles->Role Resources
If you have already created it then do the following
System->User Roles->Role Resources (tab) from Resource Access drop down under system folder tree find the Other Settings now you can see Notifications you may enable/disablehere save the role and assign this role for specific users.
answered Apr 8 '16 at 4:56
ArunendraArunendra
6,06331642
6,06331642
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
add a comment |
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
It doesn't works as you described.. Notifications are always showed, also for the new role, if I just disable the "Notifications" resource.. But it works if I disable all the "System" resource for the new role. Moreover, if I disable only the "Cache Management" resource, the notification about the cache will not be showed anymore... Do you know how it works exactly?
– Andrea
Apr 8 '16 at 12:46
add a comment |
You can use user-role specific handles from this module https://github.com/TheFrankman/magento2-customhandles (very handy anyway)
and then remove the block via layout:
<referenceBlock name="notification.messages" remove="true"></referenceBlock>
add a comment |
You can use user-role specific handles from this module https://github.com/TheFrankman/magento2-customhandles (very handy anyway)
and then remove the block via layout:
<referenceBlock name="notification.messages" remove="true"></referenceBlock>
add a comment |
You can use user-role specific handles from this module https://github.com/TheFrankman/magento2-customhandles (very handy anyway)
and then remove the block via layout:
<referenceBlock name="notification.messages" remove="true"></referenceBlock>
You can use user-role specific handles from this module https://github.com/TheFrankman/magento2-customhandles (very handy anyway)
and then remove the block via layout:
<referenceBlock name="notification.messages" remove="true"></referenceBlock>
answered Apr 27 '17 at 17:16
skymeissnerskymeissner
13810
13810
add a comment |
add a comment |
Until a proper fix can be rolled out, I created a userscript to fix this problem using Tampermonkey. For those that do not know what Tampermonkey is, it is a userscript manager browser extension, that allows users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
Here is the script
https://github.com/EnochDataSystems/gists/blob/master/magento2-system_messages-fix.js
The script will reduce the width of the systemMessageBlock and move it to the top left corner. When the systemMessageBlock is loaded, it will hover over any text or elements in that corner, but after 5 seconds it will fade away.
This is an easy quick fix and doesn't involve touching the Magento code.
add a comment |
Until a proper fix can be rolled out, I created a userscript to fix this problem using Tampermonkey. For those that do not know what Tampermonkey is, it is a userscript manager browser extension, that allows users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
Here is the script
https://github.com/EnochDataSystems/gists/blob/master/magento2-system_messages-fix.js
The script will reduce the width of the systemMessageBlock and move it to the top left corner. When the systemMessageBlock is loaded, it will hover over any text or elements in that corner, but after 5 seconds it will fade away.
This is an easy quick fix and doesn't involve touching the Magento code.
add a comment |
Until a proper fix can be rolled out, I created a userscript to fix this problem using Tampermonkey. For those that do not know what Tampermonkey is, it is a userscript manager browser extension, that allows users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
Here is the script
https://github.com/EnochDataSystems/gists/blob/master/magento2-system_messages-fix.js
The script will reduce the width of the systemMessageBlock and move it to the top left corner. When the systemMessageBlock is loaded, it will hover over any text or elements in that corner, but after 5 seconds it will fade away.
This is an easy quick fix and doesn't involve touching the Magento code.
Until a proper fix can be rolled out, I created a userscript to fix this problem using Tampermonkey. For those that do not know what Tampermonkey is, it is a userscript manager browser extension, that allows users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
Here is the script
https://github.com/EnochDataSystems/gists/blob/master/magento2-system_messages-fix.js
The script will reduce the width of the systemMessageBlock and move it to the top left corner. When the systemMessageBlock is loaded, it will hover over any text or elements in that corner, but after 5 seconds it will fade away.
This is an easy quick fix and doesn't involve touching the Magento code.
answered 2 days ago
EpixRuEpixRu
969
969
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f110030%2fmagento-2-disable-system-warning-messages-in-admin-panel-for-some-user%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown