<?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: Creating a new permission in a repo amp in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280755#M233885</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;Thanks for your answer. If I put a permissionDefinitions.xml file in the "alfresco/extension/model" directory and create the bean file in extension directory, then everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I do that, I'm totally outside my Maven AMP repo project. I may live with that, but hopped it could be possible to create new permissions inside a repo AMP module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jérémy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 20:47:38 GMT</pubDate>
    <dc:creator>logxjb</dc:creator>
    <dc:date>2014-03-31T20:47:38Z</dc:date>
    <item>
      <title>Creating a new permission in a repo amp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280753#M233883</link>
      <description>Hello,Following this tutorial: http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#implementing-and-deploying-the-modelI wanted to create a new permission.In the model directory, I've made a duplicate of the original permissionDefinitions.xml file and added my</description>
      <pubDate>Mon, 31 Mar 2014 11:45:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280753#M233883</guid>
      <dc:creator>logxjb</dc:creator>
      <dc:date>2014-03-31T11:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new permission in a repo amp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280754#M233884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess after you modfied existing model, when solr try to get model difference from alfresco , alfresco cann't deal with it correctly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can check alfresco log to see if there are any errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you just&amp;nbsp; replacing the default permission model and your permission model is legal.I think it's a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway I suggest you to extend the existing model instead of replace the default permission model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can extend the existing model using&amp;nbsp; following code snippet&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="extendPermissionModel" parent="permissionModelBootstrap"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;property name="model" value="alfresco/extension/permissionModelExtension.xml" /&amp;gt; &lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:33:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280754#M233884</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-03-31T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new permission in a repo amp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280755#M233885</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;Thanks for your answer. If I put a permissionDefinitions.xml file in the "alfresco/extension/model" directory and create the bean file in extension directory, then everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I do that, I'm totally outside my Maven AMP repo project. I may live with that, but hopped it could be possible to create new permissions inside a repo AMP module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jérémy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-permission-in-a-repo-amp/m-p/280755#M233885</guid>
      <dc:creator>logxjb</dc:creator>
      <dc:date>2014-03-31T20:47:38Z</dc:date>
    </item>
  </channel>
</rss>

