<?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 to add custom Custom Permissions and Roles in Alfresco Share ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79214#M24657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good that you are asking about this because any time you find yourself having to touch a file in the webapp you should stop and find a better way. Unfortunately, many people ignore that, just patch the JAR, and move on, which creates a mess for others to clean up later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say, "I'm not able to get the desired result," what, exactly, is the problem? Are you seeing errors? If so, what are they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely extend permissions without touching a core file. Maybe you created the permissions XML file but you forgot to wire it in to Spring with a bean, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-family: 'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono', Menlo, monospace; font-weight: normal; font-size: 13px; line-height: 18px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"com.someco.customPermissionDefinitions"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;parent&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"permissionModelBootstrap"&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"model"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"alfresco/module/${project.artifactId}/model/customPermissionDefinitions.xml"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 03:51:30 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2018-09-25T03:51:30Z</dc:date>
    <item>
      <title>How to add custom Custom Permissions and Roles in Alfresco Share ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79213#M24656</link>
      <description>Hey,I'm trying to add custom&amp;nbsp;permissions in alfresco, I found this to be relevant actually :https://community.alfresco.com/docs/DOC-5840-custom-permissions-in-shareWhen&amp;nbsp;I tried it, I'm not able to get the desired result. But, by changing the&amp;nbsp;sitePermissionDefinitions.xml&amp;nbsp;directly&amp;nbsp;inside the&amp;nbsp;alfresco</description>
      <pubDate>Mon, 24 Sep 2018 10:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79213#M24656</guid>
      <dc:creator>paulclinton</dc:creator>
      <dc:date>2018-09-24T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom Custom Permissions and Roles in Alfresco Share ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79214#M24657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good that you are asking about this because any time you find yourself having to touch a file in the webapp you should stop and find a better way. Unfortunately, many people ignore that, just patch the JAR, and move on, which creates a mess for others to clean up later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say, "I'm not able to get the desired result," what, exactly, is the problem? Are you seeing errors? If so, what are they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely extend permissions without touching a core file. Maybe you created the permissions XML file but you forgot to wire it in to Spring with a bean, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-family: 'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono', Menlo, monospace; font-weight: normal; font-size: 13px; line-height: 18px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"com.someco.customPermissionDefinitions"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;parent&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"permissionModelBootstrap"&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"model"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"alfresco/module/${project.artifactId}/model/customPermissionDefinitions.xml"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 03:51:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79214#M24657</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-25T03:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom Custom Permissions and Roles in Alfresco Share ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79215#M24658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going with the wrong approach all this while. Trying to patch the JAR file. Now I did extend the permissions and wired it in to the Spring bean. And it actually worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 04:24:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-custom-permissions-and-roles-in-alfresco-share/m-p/79215#M24658</guid>
      <dc:creator>paulclinton</dc:creator>
      <dc:date>2018-09-25T04:24:28Z</dc:date>
    </item>
  </channel>
</rss>

