AnsweredAssumed Answered

Configuring actions of forums

Question asked by pportiz on Oct 21, 2008
Latest reply on Nov 19, 2008 by nuandaeb
Hi,

I want to configure the actions of the forums in order to forbid the users to edit or delete their posts.

I'm pretty new to Alfresco and I'm sure I've missed something. I've done the next:

Give an user permissions of Coordinator on the forum space (This user YES can edit or delete all posts)
Give another user permissions of Contributor on the forum space (So this user could only be able to create posts)

On web-client-config-forum-actions.xml I've changed the actions edit_post y delete_post:

<action id="edit_post">
            <permissions>
               <permission allow="true">Coordinator</permission>
            </permissions>
            <label-id>edit_post</label-id>
            <image>/images/icons/edit_post.gif</image>
            <action>dialog:editPost</action>
            <action-listener>#{BrowseBean.setupContentAction}</action-listener>
            <params>
               <param name="id">#{actionContext.id}</param>
            </params>
</action>

<action id="delete_post">
            <permissions>
               <permission allow="true">Coordinator</permission>
            </permissions>
            <label-id>delete_post</label-id>
            <image>/images/icons/delete.gif</image>
            <action>dialog:deleteFile</action>
            <action-listener>#{BrowseBean.setupContentAction}</action-listener>
            <params>
               <param name="id">#{actionContext.id}</param>
            </params>
</action>

I said the actions would need the Coordinator permission.

After this (and restarting Tomcat), I thought the user with Contributor permissions wouldn't be able to edit or post his posts, but he can.

Is there anything more I have to do?

Many thanks in advance,

Pablo.

Outcomes