3 Replies Latest reply on Jul 19, 2007 10:13 AM by unibrew

    Forum 1.0 GA and PostReply Button Visible to Guest Users

      Is there an option I can set in the Forum 1.0 GA release that will make the PostReply button and the NewTopic button visible to a guest user?

      Danny

        • 1. Re: Forum 1.0 GA and PostReply Button Visible to Guest Users
          unibrew

          Hi Danny

          Did you try adding

          <permission action="post"/>
          to
          <role name="Anonymous" id="anonymous">
          section in acl-permissions.xml ?
          I didn't try it myself but it should work as you need.

          Regards
          ------------------
          Ryszard Kozmik
          JBoss Forums Lead
          JBoss Labs Team

          • 2. Re: Forum 1.0 GA and PostReply Button Visible to Guest Users

            I added the post permission for anonymous to the 1.01 version. I got the error:

            java.lang.NullPointerException at org.jboss.portlet.forums.impl.ForumsModuleImp.findLastPostDateForUser(ForumsModuleImpl.java:1379)

            I would also like to route the guest user to the login screen if they have not logged in.

            Addition of RSS and Atom in the 1.01 version is nice.

            Danny

            • 3. Re: Forum 1.0 GA and PostReply Button Visible to Guest Users
              unibrew

              Hi

              "ThorntonD" wrote:
              I added the post permission for anonymous to the 1.01 version. I got the error:

              java.lang.NullPointerException at org.jboss.portlet.forums.impl.ForumsModuleImp.findLastPostDateForUser(ForumsModuleImpl.java:1379)
              I added a bug task for this problem : http://jira.jboss.com/jira/browse/JBFORUMS-250

              "ThorntonD" wrote:
              I would also like to route the guest user to the login screen if they have not logged in.
              This may be harder to achieve but I'll try to find some way to have this as well.

              "ThorntonD" wrote:
              Addition of RSS and Atom in the 1.01 version is nice.
              Thanks, still few things for this must be done to make it look and work properly.

              Regards
              ------------------
              Ryszard Kozmik
              JBoss Forums Lead
              JBoss Labs Team