<?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: Make action available only for a specific LDAP group in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122360#M33532</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Never mind my last post. I had to add the "GROUP_" before the group name.&lt;/P&gt;&lt;P&gt;It's working now.&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Francisco Duarte&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 12:42:45 GMT</pubDate>
    <dc:creator>franciscoduarte</dc:creator>
    <dc:date>2022-11-14T12:42:45Z</dc:date>
    <item>
      <title>Make action available only for a specific LDAP group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122357#M33529</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to make a share action available only for users from a specific LDAP group.&lt;/P&gt;&lt;P&gt;I know that I can use an Evaluator to build this logic but my problem is that I don't know how to access the LDAP information from ACS. Is there an OOTB way to do this?&lt;/P&gt;&lt;P&gt;I'm using ACS 7.2 Enterprise.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Francisco Duarte&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:07:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122357#M33529</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2022-11-11T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Make action available only for a specific LDAP group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122358#M33530</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Try defining an evaluator based in&amp;nbsp;&lt;STRONG&gt;evaluator.doclib.action.groupMembership&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="evaluator.doclib.action.isWebPublisher" parent="evaluator.doclib.action.groupMembership"&amp;gt;&lt;BR /&gt;&amp;lt;property name="groups"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;GROUP_WEB_PUBLISHER&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;You should integrate Alfresco with your LDAP, and sync your LDAP groups. So it is expected to sync a WEB_PUBLISHER group of the LDAP.&lt;/P&gt;&lt;P&gt;Then you may use the evaluator inside the action definition.&lt;/P&gt;&lt;P&gt;&amp;lt;action id="execute-web-workflow1" type="javascript" label="web.action.action1"&amp;gt;&lt;BR /&gt;&amp;lt;param name="function"&amp;gt;onActionSimpleRepoAction&amp;lt;/param&amp;gt;&lt;BR /&gt;&amp;lt;param name="action"&amp;gt;execute-web-workflow-action1&amp;lt;/param&amp;gt;&lt;BR /&gt;&amp;lt;param name="successMessage"&amp;gt;web.message.success.action1&amp;lt;/param&amp;gt;&lt;BR /&gt;&amp;lt;param name="failureMessage"&amp;gt;web.message.failure.action1&amp;lt;/param&amp;gt;&lt;BR /&gt;&amp;lt;evaluator&amp;gt;evaluator.doclib.action.isWebPublisher&amp;lt;/evaluator&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 20:54:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122358#M33530</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2022-11-13T20:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make action available only for a specific LDAP group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122359#M33531</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is this supposed to work with LDAP groups?&lt;/P&gt;&lt;P&gt;In Admin Tools &amp;gt; Users &amp;gt; Admin, I see the group&amp;nbsp;&lt;SPAN&gt;ALFRESCO_ADMINISTRATORS for example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to add this group to the XML and it didn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After that, I tried&amp;nbsp;&lt;/SPAN&gt;SiteManager, and it worked. It seems this&amp;nbsp;&lt;SPAN&gt;evaluator.doclib.action.groupMembership only works with the site roles and not LDAP groups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards and thankyou for your answer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Francisco Diarte&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 12:24:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122359#M33531</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2022-11-14T12:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make action available only for a specific LDAP group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122360#M33532</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Never mind my last post. I had to add the "GROUP_" before the group name.&lt;/P&gt;&lt;P&gt;It's working now.&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Francisco Duarte&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 12:42:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/make-action-available-only-for-a-specific-ldap-group/m-p/122360#M33532</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2022-11-14T12:42:45Z</dc:date>
    </item>
  </channel>
</rss>

