<?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 Content Permissions in APS in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/content-permissions-in-aps/m-p/33272#M14067</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Does anyone out there know anything about APS content permissions. I have a custom UI built in Angular that uses the REST API to communicate with APS.&lt;/P&gt;&lt;P&gt;I want to upload some content into APS so that it can be later used on a workflow. I am using the REST call http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/raw to post the content to APS. This seems to work - I get a succes message and the ID of the uploaded content (in this case the ID is 51). However when I try to retrieve the content using http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/51 or http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/51/rendition/preview I get an error message:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"You are not allowed to read the content with id: 51"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"messageKey"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"GENERAL.ERROR.FORBIDDEN"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I can't find any documentation about how Activiti handles permissions on content. Surely I should be able to read content I have uploaded ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas what I'm doing wrong?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Oct 2022 09:10:01 GMT</pubDate>
    <dc:creator>pedwards99</dc:creator>
    <dc:date>2022-10-20T09:10:01Z</dc:date>
    <item>
      <title>Content Permissions in APS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/content-permissions-in-aps/m-p/33272#M14067</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Does anyone out there know anything about APS content permissions. I have a custom UI built in Angular that uses the REST API to communicate with APS.&lt;/P&gt;&lt;P&gt;I want to upload some content into APS so that it can be later used on a workflow. I am using the REST call http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/raw to post the content to APS. This seems to work - I get a succes message and the ID of the uploaded content (in this case the ID is 51). However when I try to retrieve the content using http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/51 or http://&amp;lt;server&amp;gt;/activiti-app/api/enterprise/content/51/rendition/preview I get an error message:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"You are not allowed to read the content with id: 51"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"messageKey"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"GENERAL.ERROR.FORBIDDEN"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I can't find any documentation about how Activiti handles permissions on content. Surely I should be able to read content I have uploaded ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas what I'm doing wrong?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Oct 2022 09:10:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/content-permissions-in-aps/m-p/33272#M14067</guid>
      <dc:creator>pedwards99</dc:creator>
      <dc:date>2022-10-20T09:10:01Z</dc:date>
    </item>
  </channel>
</rss>

