2 Replies Latest reply on Feb 26, 2007 12:36 PM by unibrew

    unable to get acl permissions to work

    jboss.biancashouse.com

      Only logging as admin brings up the Adminiistration button in the portlet.
      I tried adding another roles to acl-permissions.xml:

      <!-- users with Admin privileges -->




      <!-- users with Admin privileges -->




      I know my new role name is MEC-forumsadmin, but I can't see what the id is for ?

      Don't really want to have to assign Admin role to forums administrator...

      Thanks for you help, anyone

        • 1. Re: unable to get acl permissions to work
          jboss.biancashouse.com

          I'll try posting the code again - think the embedded tags fooled the forums editor:

          < role name="Admin" id="admin">
          <permission action="all"/ >
          < /role>

          < role name="MEC-forumsadmin" id="forumsadmin">
          <permission action="all"/ >
          < /role>

          • 2. Re: unable to get acl permissions to work
            unibrew

            Hi Ian

            I pasted your role definition to my acl-permissions.xml file. Then I have created new user and role in portal. Portal role name should be same as ID from xml and having portal role view name and name from xml same would sound reasonable also ;-). Don't forget to assign user to this newly created role.

            BTW. You should place XML/HTML like code inside bbcode's "code" tags then you don't have to modify it to post it.

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