1 Reply Latest reply on Nov 14, 2006 11:05 AM by Peter Johnson

    Deleting / Securing Pages failing

    Norman Barker Newbie


      I am using JBoss 4.0.5GA, with PostgreSQL, and JBoss Portal 2.6.0DR1.

      I am trying to remove the Test page so it can't be seen by an ordinary user.

      When I set the security privileges so that only admin has 'view' selected the user can still see the test page. As a drastic step I chose to delete the test page, this worked, but when I rebooted it was back.

      Have I misunderstood setting security on pages? Can you point me to a good explanation if I have made a mistake.

      Many thanks,


        • 1. Re: Deleting / Securing Pages failing
          Peter Johnson Master

          I am not sure why setting the security didn't work (you should be able to create a new role, say testonly, and allow only users with that role to see the test page, and of course never assign any users to that role).

          But as far as the test page reappearing goes, I think I know why that happened. The test page is defined at jboss-portal.sar/portal-sample.war/WEB-INF/default-object.xml. As long as that file exists, every time you start the portal, that file is read and is used to update the portal settings. Which means that if you deleted the test page, it will re-create the test page. To completely get rid of the test page, remove this file.