AnsweredAssumed Answered

How do I allow a consumer to add comments?

Question asked by vezance on Sep 25, 2017
Latest reply on Sep 27, 2017 by afaust

I've been trying to update the default Consumer role to allow adding comments to content.

I followed the steps at this community post:

Consumer can add Comments 

 

It wasn't too clear. Here's what we added to our permissionDefinitions.xml file:

<permissionSet type="fm:discussable" expose="selected">
    <permissionGroup name="CreateComments" extends="false" expose="false" />   
    <permissionGroup name="ReadComments" extends="false" expose="false" />   
    <permission name="_CreateComments" expose="false" >
        <grantedToGroup permissionGroup="CreateComments" />
    </permission>
    <permission name="_ReadComments" expose="false" >
        <grantedToGroup permissionGroup="ReadComments" />
    </permission> 
</permissionSet>

 

Here's what we added to our sitePermissionDefinitions.xml

      <permissionGroup name="SiteConsumer" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="Consumer" type="cm:cmobject" />
         <includePermissionGroup permissionGroup="CreateComments" type="fm:discussable" />
         <includePermissionGroup permissionGroup="ReadComments" type="fm:discussable" />
         <includePermissionGroup permissionGroup="ReadPermissions" type="sys:base" />
      </permissionGroup>

 

Both files were located at:

{alfreco}\tomcat\shared\classes\alfresco\extension

 

This did not work. What are we missing?

Outcomes