<?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: Managing files permission with OpenCMIS in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/managing-files-permission-with-opencmis/m-p/86380#M26133</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82021"&gt;@skeez&lt;/A&gt;&amp;nbsp;&amp;amp; welcome to Alfresco!&lt;/P&gt;
&lt;P&gt;There's an interesting answer from&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp;at &lt;A title="Opens in a new window" href="https://stackoverflow.com/questions/41840800/how-to-use-the-alfresco-interoperability-apis/42877393#42877393" target="_blank" rel="noopener nofollow noreferrer"&gt;StackOverflow&lt;/A&gt; on using CMIS to manage permissions.&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;&lt;EM&gt;Share a document (folder, file etc ...) &lt;/EM&gt;&lt;BR /&gt;If you just mean you want to adjust the permissions then it may be possible via CMIS. &lt;BR /&gt;You could use OpenCMIS to add or remove locally-set permissions. &lt;BR /&gt;But CMIS cannot break (or re-establish) ACL inheritance, so if you need to do that, &lt;BR /&gt;CMIS won't work.&lt;/PRE&gt;
&lt;P&gt;So this would seem to suggest that you can assign permission on a document to another user.&lt;/P&gt;
&lt;P&gt;What I suggest is that you add here the code that you are using - then someone with more knowledge of CMIS than me may be able to see why your call is failing.&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 17:10:37 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2020-06-09T17:10:37Z</dc:date>
    <item>
      <title>Managing files permission with OpenCMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/managing-files-permission-with-opencmis/m-p/86379#M26132</link>
      <description>&lt;P&gt;Hello everyone, i have been working on my final year projet in college, im trying to integrate Alfresco with a java application using OpenCMIS&lt;/P&gt;&lt;P&gt;part of my projet is to manage permissions to certain documents, the way it works&amp;nbsp; is for a user A to upload a file, then give access to an other user B, then&amp;nbsp; user B will be able to give access to the same document to an other user C the problem seems to be that only the document owner can manage the file's permission, is there anyway i could permit a cetain user to be able to assign permissions to files they dont own?&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem is that its possible to do this through the alfresco share, but keeps giving me permission denied error when doing it with OpenCMIS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:45:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/managing-files-permission-with-opencmis/m-p/86379#M26132</guid>
      <dc:creator>skeez</dc:creator>
      <dc:date>2020-06-09T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Managing files permission with OpenCMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/managing-files-permission-with-opencmis/m-p/86380#M26133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82021"&gt;@skeez&lt;/A&gt;&amp;nbsp;&amp;amp; welcome to Alfresco!&lt;/P&gt;
&lt;P&gt;There's an interesting answer from&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp;at &lt;A title="Opens in a new window" href="https://stackoverflow.com/questions/41840800/how-to-use-the-alfresco-interoperability-apis/42877393#42877393" target="_blank" rel="noopener nofollow noreferrer"&gt;StackOverflow&lt;/A&gt; on using CMIS to manage permissions.&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;&lt;EM&gt;Share a document (folder, file etc ...) &lt;/EM&gt;&lt;BR /&gt;If you just mean you want to adjust the permissions then it may be possible via CMIS. &lt;BR /&gt;You could use OpenCMIS to add or remove locally-set permissions. &lt;BR /&gt;But CMIS cannot break (or re-establish) ACL inheritance, so if you need to do that, &lt;BR /&gt;CMIS won't work.&lt;/PRE&gt;
&lt;P&gt;So this would seem to suggest that you can assign permission on a document to another user.&lt;/P&gt;
&lt;P&gt;What I suggest is that you add here the code that you are using - then someone with more knowledge of CMIS than me may be able to see why your call is failing.&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 17:10:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/managing-files-permission-with-opencmis/m-p/86380#M26133</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-09T17:10:37Z</dc:date>
    </item>
  </channel>
</rss>

