<?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: getting 403 when calling nodes/.../targets API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23565#M10285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you are authenticated correctly?&lt;/P&gt;&lt;P&gt;Technically speaking, "admin" is a super user given the "full control" permission. But it is still possible for specific API to not be accessible, e.g. due to lack of permission check definitions / specific custom code checking permissions. The public API endpoints should not be such APIs, so you should be able to assume "admin" to have all privileges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 15:39:11 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-05-26T15:39:11Z</dc:date>
    <item>
      <title>getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23562#M10282</link>
      <description>I am getting 403 when I used api&amp;nbsp;nodes/.../sources and&amp;nbsp;nodes/.../targets. &amp;nbsp;I have no problem calling other apis such as nodes/.../children and nodes/.../secondary-childrenHow should i get around it?"error":&amp;nbsp;{"errorKey":&amp;nbsp;"framework.exception.ApiDefault","statusCode":&amp;nbsp;403,"briefSummary":&amp;nbsp;"04252009 Acc</description>
      <pubDate>Thu, 25 May 2017 18:46:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23562#M10282</guid>
      <dc:creator>yuwangbah</dc:creator>
      <dc:date>2017-05-25T18:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23563#M10283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well - the message appears to tell you everything you should need. Whatever node you tried to run the operations on, it appears that the user that was authenticated does not have the necessary permissions to perform the changes requested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 10:02:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23563#M10283</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-26T10:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23564#M10284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. &amp;nbsp;But if I am using the admin username and password, shouldn't I be granted with access to all the APIs? &amp;nbsp;cause it seems these are the only APIs I can't access. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to use the "Manage Permission" option to add myself (admin) to the permission list to do "Read and File" for all the folders in the path above the node I am trying to manipulate through the APIs. &amp;nbsp;It didn't work either. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a brand new Alfresco user, can you tell me where I can make the permission changes to enable this access?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23564#M10284</guid>
      <dc:creator>yuwangbah</dc:creator>
      <dc:date>2017-05-26T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23565#M10285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you are authenticated correctly?&lt;/P&gt;&lt;P&gt;Technically speaking, "admin" is a super user given the "full control" permission. But it is still possible for specific API to not be accessible, e.g. due to lack of permission check definitions / specific custom code checking permissions. The public API endpoints should not be such APIs, so you should be able to assume "admin" to have all privileges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 15:39:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23565#M10285</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-26T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23566#M10286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. &amp;nbsp;I was able to resolve the issue by using other APIs. &amp;nbsp;Maybe the APIs I tried are really not designed to work with "records". &amp;nbsp;I ended up using the API below to do the job that I was trying to do with other APIs, probably due to my lack of knowledge of what APIs to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; font-size: 14px;"&gt;API links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://10.5.1.128:8080/alfresco/service/index/uri/" style="color: #2989c5; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;http://10.5.1.128:8080/alfresco/service/index/uri/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;API to use:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST: alfresco/service/api/node/workspace/SpacesStore/085f4637-bbXXXXXX-74f350920c25/customreferences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Payload:&lt;BR /&gt;{&lt;BR /&gt;"nodeRef":"workspace://SpacesStore/085f46XXXXX920c25",&lt;BR /&gt;"refId":"e5f1f6aXXXX746e55",&lt;BR /&gt;"toNode":"workspace://SpacesStore/49a167f7XXXXXa-c751b570db77",&lt;BR /&gt;"nodeRefUrl":"workspace/SpacesStore/085f4637-bbe1XXXX4f350920c25",&lt;BR /&gt;"successMessage":"Successfully added relationship"&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 17:34:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23566#M10286</guid>
      <dc:creator>yuwangbah</dc:creator>
      <dc:date>2017-05-26T17:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: getting 403 when calling nodes/.../targets API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23567#M10287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would have been good to know you were dealing with Records Management related contents. Of course, Records Management is one area of the product where more aggressive permission checks are introduced for the content under RM control. Also, Records Managements has its own set of public v1 ReST APIs (with the newest/upcoming version on 5.2 only).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 May 2017 13:26:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-403-when-calling-nodes-targets-api/m-p/23567#M10287</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-28T13:26:39Z</dc:date>
    </item>
  </channel>
</rss>

