<?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: Restrict user from Leaving Site. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91985#M27271</link>
    <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;Can you please tell me that if it is possible to restrict Manager of the site to edit other users comments?&lt;/P&gt;&lt;P&gt;Will be very grateful to your&amp;nbsp;help.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 05:53:31 GMT</pubDate>
    <dc:creator>Syedjunaid</dc:creator>
    <dc:date>2020-10-14T05:53:31Z</dc:date>
    <item>
      <title>Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91982#M27268</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Im using Alfresco Community version 6.0.a (Dockerized). I&amp;nbsp;have deployed Alfresco in a production eviornment and my client&amp;nbsp;has come up with a specific requirement. Their requirement is to restricit user to Leave Site, once the user&amp;nbsp;has been added.&lt;/P&gt;&lt;P&gt;Kindly refer me a possible solution for this requirement.&lt;/P&gt;&lt;P&gt;The problem is quite urgent so please&amp;nbsp;help me as soon as possible.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 22:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91982#M27268</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-10-13T22:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91983#M27269</link>
      <description>&lt;P&gt;You have to extend, share-header.get.js and you can use the below code.&lt;/P&gt;&lt;PRE&gt;if (!user.isAdmin) {
  widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_LEAVE_SITE");
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2020 02:57:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91983#M27269</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-10-14T02:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91984#M27270</link>
      <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;Thanks for providing the solution in such an urgent situation. This works like a charm!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed Junaid&amp;nbsp;Hussain.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 05:40:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91984#M27270</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-10-14T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91985#M27271</link>
      <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;Can you please tell me that if it is possible to restrict Manager of the site to edit other users comments?&lt;/P&gt;&lt;P&gt;Will be very grateful to your&amp;nbsp;help.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 05:53:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91985#M27271</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-10-14T05:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91986#M27272</link>
      <description>&lt;P&gt;Manager having all the permission and it is required.&lt;/P&gt;&lt;P&gt;What is the use case for not allowing manager to edit comment?&lt;/P&gt;&lt;P&gt;This api is used to get all comment.&lt;BR /&gt;GET /alfresco/s/api/node/{store_type}/{store_id}/{id}/comments?reverse={reverse?}&amp;amp;startIndex={startIndex?}&amp;amp;pageSize={pageSize?}&lt;/P&gt;&lt;P&gt;You can make modification in this api for permission.&lt;/P&gt;&lt;P&gt;This api returning json response from that one key called permission is there.&lt;/P&gt;&lt;PRE&gt;"permissions": {"edit": true, "delete": true}&lt;/PRE&gt;&lt;P&gt;Base on this it is displaying Edit/Delete Button.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 06:11:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91986#M27272</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-10-14T06:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user from Leaving Site.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91987#M27273</link>
      <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;Our client is using Rule Based Workflows, so when the approver approves the document,&amp;nbsp;he comments on the document first like "approved" and then the document&amp;nbsp; is moved to another folder where another approver&amp;nbsp;has to approve according to that documents approval flow.&lt;/P&gt;&lt;P&gt;We are using comments so that a high authority specific user can&amp;nbsp;have a treck on who approved the document.&lt;/P&gt;&lt;P&gt;Now the approvers in the workflow are the users who&amp;nbsp;have manager permissions. So our client's concern is that even Managers shoudn't be able to edit or delete other user's comments.&lt;/P&gt;&lt;P&gt;I want to do the changes on application level. I tried to edit comment-list.js in "webapps/share/components/comments" and but none of the changes took place. I even tried to alert a message in&amp;nbsp;comment-list.js file (to check if any edition in the file is working or not) but nothing&amp;nbsp;happened.&lt;/P&gt;&lt;P&gt;Can you please suggest me what file should I change in Share.&lt;/P&gt;&lt;P&gt;The solution you suggested is fine but my senior told me to do changes on application level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion regarding this matter will be very&amp;nbsp;helpful to me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed Junaid&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 11:33:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-user-from-leaving-site/m-p/91987#M27273</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-10-28T11:33:36Z</dc:date>
    </item>
  </channel>
</rss>

