2 Replies Latest reply on Jul 18, 2007 1:44 PM by unibrew

    Posting options on new topic ?

    733nb

      Environment Information
      ----------------------------------
      OS-System: Windows 2000 5.0,x86
      Java VM: Java HotSpot(TM) Server VM 1.5.0_02-b09,Sun Microsystems Inc
      Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200611211702)
      Jboss Portal-2.4.1-CR2
      JBoss Forums 1.0.0 GA for JBoss Portal 2.4
      Oracle, version: Oracle9i Enterprise Edition Release 9.2.0.1.0
      Oracle JDBC driver, version: 10.2.0.1.0

      I'm running JBoss Forums "out of the box" and I have logged in as 'user'. When I select "New Topics" I'm presented with a UI form that has 'Options' to post topic of 'normal', 'sticky', or 'announcement'. Is there a way to restrict the 'user' to post 'Options' of just 'normal' ?

      I have reviewed the documentation, this forum, and configuration files. However, I'm unable to find anything that address the ability to configure 'Options' under 'New Topic'.

      Could you please advise....

        • 1. Re: Posting options on new topic ?
          unibrew

          Hi

          Sadly, I forgot to make this kind of security checks. I'll add it as I'm gona need it as well for JBoss.org deployment.

          Thanks for pointing this out
          ------------------
          Ryszard Kozmik
          JBoss Forums Lead
          JBoss Labs Team

          • 2. Re: Posting options on new topic ?
            unibrew

            Hello

            Your feature request has been added to codebase of 1.0.1 release and will be available with this release.

            I added:

            <resource type="fragment" criteriaId="topicType://ui" >
             <id>acl://topicType</id>
             </resource>

            in acl-mapping.xml file and you can now create security criterias with the declared id.

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