<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I allow a consumer to add comments? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-allow-a-consumer-to-add-comments/m-p/15124#M6685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Addinga custom permission will never "magically" make a feature work. No component is checking for a "CreateComments" permission, so adding it has no effect. The poster from the thread you linked also includes the abstract instruction: "&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;After that you need to extend the comments webscripts in share so they do not use the Create permission, but CreateComments permission . I think it's the comments-list.js file, but I can't find my example code for this." This sounds like it was intended to work with the custom permission, but actually won't work at all as well, since it is just a UI component checking permissions, but regardless of its check results the backend will still fail&amp;nbsp;due to lack of the right permissions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;What you'd need to do is apply some sort of customisation / logic that automatically adds the "Contributor" permission on the discussion node for a document to users with Consumer / Read privileges&amp;nbsp;on the document. Unfortunately, that would be quite an inefficient approach. Alternatively, you could try to implement a DynamicAuthority - combined with a "globalPermission" role definition in a permission definition XML - that dynamically grants the relevant Contributor privilege on&amp;nbsp;content / discussable items if the current user has read permissions. That avoids having to create many ACLs on each node individually, but requires Java implementation. Once that is done, you might still have to do some UI customisation to activate the comment action for Consumers, but then at least the action would be supported by the backend.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 07:59:38 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-09-27T07:59:38Z</dc:date>
    <item>
      <title>How do I allow a consumer to add comments?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-allow-a-consumer-to-add-comments/m-p/15123#M6684</link>
      <description>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&amp;nbsp;It wasn't too clear. Here's what we added to our permissionDefinitions.xml file:&amp;lt;permissionSet type="fm:discussable" expose="selected"&amp;gt;</description>
      <pubDate>Mon, 25 Sep 2017 16:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-allow-a-consumer-to-add-comments/m-p/15123#M6684</guid>
      <dc:creator>vezance</dc:creator>
      <dc:date>2017-09-25T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I allow a consumer to add comments?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-allow-a-consumer-to-add-comments/m-p/15124#M6685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Addinga custom permission will never "magically" make a feature work. No component is checking for a "CreateComments" permission, so adding it has no effect. The poster from the thread you linked also includes the abstract instruction: "&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;After that you need to extend the comments webscripts in share so they do not use the Create permission, but CreateComments permission . I think it's the comments-list.js file, but I can't find my example code for this." This sounds like it was intended to work with the custom permission, but actually won't work at all as well, since it is just a UI component checking permissions, but regardless of its check results the backend will still fail&amp;nbsp;due to lack of the right permissions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;What you'd need to do is apply some sort of customisation / logic that automatically adds the "Contributor" permission on the discussion node for a document to users with Consumer / Read privileges&amp;nbsp;on the document. Unfortunately, that would be quite an inefficient approach. Alternatively, you could try to implement a DynamicAuthority - combined with a "globalPermission" role definition in a permission definition XML - that dynamically grants the relevant Contributor privilege on&amp;nbsp;content / discussable items if the current user has read permissions. That avoids having to create many ACLs on each node individually, but requires Java implementation. Once that is done, you might still have to do some UI customisation to activate the comment action for Consumers, but then at least the action would be supported by the backend.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:59:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-allow-a-consumer-to-add-comments/m-p/15124#M6685</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-09-27T07:59:38Z</dc:date>
    </item>
  </channel>
</rss>

