<?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 Restrict 'Manage Aspects' to site managers in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63369#M21765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I restrict&amp;nbsp;'Manage Aspects' to site manager role only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently a site collaborator is able to remove Versionable aspect of a document that is not owned by them,&amp;nbsp;and&amp;nbsp;that results in all previous versions&amp;nbsp;to vanish with no trace. This is a security issue in my opinion because a collaborator in one hand is not able to delete documents that are not owned by them, but on the other hand they can edit a document and remove its Versionable aspect to delete the history and leave no way to revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 17:22:55 GMT</pubDate>
    <dc:creator>hoomanv</dc:creator>
    <dc:date>2018-02-07T17:22:55Z</dc:date>
    <item>
      <title>Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63369#M21765</link>
      <description>Hello,How can I restrict&amp;nbsp;'Manage Aspects' to site manager role only?Currently a site collaborator is able to remove Versionable aspect of a document that is not owned by them,&amp;nbsp;and&amp;nbsp;that results in all previous versions&amp;nbsp;to vanish with no trace. This is a security issue in my opinion because a collabor</description>
      <pubDate>Wed, 07 Feb 2018 17:22:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63369#M21765</guid>
      <dc:creator>hoomanv</dc:creator>
      <dc:date>2018-02-07T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63370#M21766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to override the manage-aspect custom action and add an evaluate for group member ship.When we create site for each site few internal groups are created for each role.So&amp;nbsp;evaluator.doclib.action.groupMembership OOB evaluator will not work as group for SiteManager is created dynamically for example if you have site named as account ,internally group will be created as&amp;nbsp;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;site_account_SiteContributor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;For solution of this you need to create a custom evaluator.Take a reference of below mentioned file and you can create your own evaluator as per your requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk/share/src/main/java/org/alfresco/web/evaluator/HasGroupMembershipsEvaluator.java" title="https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk/share/src/main/java/org/alfresco/web/evaluator/HasGroupMembershipsEvaluator.java" rel="nofollow noopener noreferrer"&gt;https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk/share/src/main/java/org/alfresco/web/evaluator/…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 07:47:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63370#M21766</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-08T07:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63371#M21767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a simple XML modification (not java) to achieve this&amp;nbsp;using&amp;nbsp;alfresco community 201707. Is that possible? I don't know where to look for those config files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 08:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63371#M21767</guid>
      <dc:creator>hoomanv</dc:creator>
      <dc:date>2018-02-08T08:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63372#M21768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not possible using only xml configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 08:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63372#M21768</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-08T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63373#M21769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about just hiding the link? I'd be happy with that too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 16:48:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63373#M21769</guid>
      <dc:creator>hoomanv</dc:creator>
      <dc:date>2018-02-09T16:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63374#M21770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to do it with simple XML modification to share-config-custom.xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;config evaluator="string-compare" condition="DocLibActions"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;action id="document-manage-aspects"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;evaluator&amp;gt;evaluator.doclib.action.isSiteManager&amp;lt;/evaluator&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63374#M21770</guid>
      <dc:creator>hoomanv</dc:creator>
      <dc:date>2018-02-12T21:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict 'Manage Aspects' to site managers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63375#M21771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its great.. I was under impression that its not an OOB evaluator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 05:21:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-manage-aspects-to-site-managers/m-p/63375#M21771</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-13T05:21:14Z</dc:date>
    </item>
  </channel>
</rss>

