Magento 2: disable system warning messages in Admin Panel for some user












2















enter image description here



Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?










share|improve this question



























    2















    enter image description here



    Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?










    share|improve this question

























      2












      2








      2








      enter image description here



      Is there a way to disable system warning messages popups for some specific user (or for all users also) in Magento 2?










      share|improve this question














      enter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 7 '16 at 21:24









      AndreaAndrea

      1,10611026




      1,10611026






















          4 Answers
          4






          active

          oldest

          votes


















          2














          Login to your Admin



          Navigate to:



          Stores > Configuration > Advanced > Advanced 


          Disable Admin Notifications by



          Disable Modules Output > Magento_AdminNotification > Set to Disable





          share|improve this answer
























          • 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



















          1














          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.



          see the pic






          share|improve this answer
























          • 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



















          0














          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>





          share|improve this answer































            0














            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.






            share|improve this answer























              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              2














              Login to your Admin



              Navigate to:



              Stores > Configuration > Advanced > Advanced 


              Disable Admin Notifications by



              Disable Modules Output > Magento_AdminNotification > Set to Disable





              share|improve this answer
























              • 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
















              2














              Login to your Admin



              Navigate to:



              Stores > Configuration > Advanced > Advanced 


              Disable Admin Notifications by



              Disable Modules Output > Magento_AdminNotification > Set to Disable





              share|improve this answer
























              • 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














              2












              2








              2







              Login to your Admin



              Navigate to:



              Stores > Configuration > Advanced > Advanced 


              Disable Admin Notifications by



              Disable Modules Output > Magento_AdminNotification > Set to Disable





              share|improve this answer













              Login to your Admin



              Navigate to:



              Stores > Configuration > Advanced > Advanced 


              Disable Admin Notifications by



              Disable Modules Output > Magento_AdminNotification > Set to Disable






              share|improve this answer












              share|improve this answer



              share|improve this answer










              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



















              • 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













              1














              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.



              see the pic






              share|improve this answer
























              • 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
















              1














              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.



              see the pic






              share|improve this answer
























              • 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














              1












              1








              1







              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.



              see the pic






              share|improve this answer













              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.



              see the pic







              share|improve this answer












              share|improve this answer



              share|improve this answer










              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



















              • 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











              0














              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>





              share|improve this answer




























                0














                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>





                share|improve this answer


























                  0












                  0








                  0







                  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>





                  share|improve this answer













                  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>






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 27 '17 at 17:16









                  skymeissnerskymeissner

                  13810




                  13810























                      0














                      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.






                      share|improve this answer




























                        0














                        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.






                        share|improve this answer


























                          0












                          0








                          0







                          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.






                          share|improve this answer













                          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.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 days ago









                          EpixRuEpixRu

                          969




                          969






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              An IMO inspired problem

                              Management

                              Has there ever been an instance of an active nuclear power plant within or near a war zone?