<?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: Override createnode in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312628#M265758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wanted to override CreateNode" operation on the NodeService .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this function is used in comments.post.json.js&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 13:47:47 GMT</pubDate>
    <dc:creator>sanketgosavi</dc:creator>
    <dc:date>2014-11-19T13:47:47Z</dc:date>
    <item>
      <title>Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312626#M265756</link>
      <description>Hi,How can i override OOTB createNode function ?Thanks</description>
      <pubDate>Wed, 19 Nov 2014 12:02:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312626#M265756</guid>
      <dc:creator>sanketgosavi</dc:creator>
      <dc:date>2014-11-19T12:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312627#M265757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it depends on what you mean by "createNode function" - the "Create Content" menu in the document library or the literal "createNode" operation on the NodeService (not Share but Repository) - or something completely different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:58:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312627#M265757</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-11-19T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312628#M265758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wanted to override CreateNode" operation on the NodeService .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this function is used in comments.post.json.js&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:47:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312628#M265758</guid>
      <dc:creator>sanketgosavi</dc:creator>
      <dc:date>2014-11-19T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312629#M265759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you you shouldn't override the createNode operation on the NodeService. Technically it is possibly by injecting an interceptor into the public bean or sub-classin the DbNodeServiceImpl and overriding the private bean, but this would be an unsupported change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you want to change in terms of behaviour? You should try to use any of the standard extension / customization methods for Alfresco, e.g. try using a Policy or Rule to achieve the desired behaviour…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 15:44:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312629#M265759</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-11-19T15:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312630#M265760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to allow consumer to add comments but i don't want to include CreateChildren permission in my permission model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've made Add comments button visible to every role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when try to add comment by consumer, i got error pop up saying 'Unable to save comment'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Log - &amp;gt; Access Denied.&amp;nbsp; You do not have the appropriate permissions to perform this operation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i allow consumer to add comments without including create children permission ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggest&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 06:07:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312630#M265760</guid>
      <dc:creator>sanketgosavi</dc:creator>
      <dc:date>2014-11-20T06:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Override createnode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312631#M265761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you could try using a custom dynamic authority that uses request-scoped information to grant CreateChildren during permission evaluation without requiring that CreateChildren is granted statically (via ACL). E.g. the comments.post.json.js could be customized to set the request-scoped information that a comment is to be added to a specific NodeRef and the dynamic authority compares that request-scoped NodeRef with the NodeRef that is passed to it to check if the current user has that dynamic authority (and via &amp;lt;globalPermission&amp;gt; the CreateChildren permission).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 08:44:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/override-createnode/m-p/312631#M265761</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-11-20T08:44:22Z</dc:date>
    </item>
  </channel>
</rss>

