4 Replies Latest reply on Apr 16, 2004 2:06 AM by sysuser1

    Howcome Template module only shows when logged in as admin?

    sysuser1

      Hello,

      I've installed Nukes, and built the Template example. Why does it only show up in the modules list when I log in as the admin? How do I make it visible for anyone?

        • 1. Re: Howcome Template module only shows when logged in as adm

          I am assuming you mean in the Main Menu block. You need to add a line to the {nukes_base_dir}/nukes/resources/services/menu-block-service.xml file. If you do it this way you will need to build and redeploy nukes components (i.e. build deploy-components).
          You add it in the security element of the file (right next to the others that look like this). Here is the line:

          <permission group="*" level="READ" pattern="module:template:main"/>
          


          You can also add this to the JMX console in the attributes for the nukes module. This way does not require a redeploy of the nukes components but it may be more difficult if you don't understand JMX.

          • 2. Re: Howcome Template module only shows when logged in as adm
            sysuser1

            I added it to the menu-block-service.xml and re-built. The file ended up in /server/default/nukes. However, the module still didn't show up in the Main Menu block. Adding it with the jmx-console did it, though. Thank's for the help.

            • 3. Re: Howcome Template module only shows when logged in as adm

              Since the Menu Block was already deployed you would also have to clear all the security elements from the database befor you deploy your new build. Because persistance is true for the Menu Block it will not update the security elements unless you have removed them from the database first. There is another thread here that has the excact command that you need to do to remove just the security fields from the database.

              • 4. Re: Howcome Template module only shows when logged in as adm
                sysuser1

                Yes, I found the post with the exact command. Thank you!