<?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>question Re: API call to /nifi-api/resources  results in &amp;quot;No applicable policies could be found. Contact the system administrator.&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363535#M239013</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nifi-c2-d01.xxx.xxx:9443/nifi-api/policies/read/resources" target="_blank"&gt;https://nifi-c2-d01.xxx.xxx:9443/nifi-api/policies/read/resources&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Unable to find access policy for read on /resources&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 18:50:51 GMT</pubDate>
    <dc:creator>JohnF</dc:creator>
    <dc:date>2023-02-09T18:50:51Z</dc:date>
    <item>
      <title>API call to /nifi-api/resources  results in "No applicable policies could be found. Contact the system administrator."</title>
      <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363534#M239012</link>
      <description>&lt;P&gt;Other API calls work such as to /nifi-api/tenants/user-groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not see an entry for /resources in&amp;nbsp;authorizations.xml nor does there seem to be an entry VIA the gui policy editing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NIFI 19.1...&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 18:38:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363534#M239012</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2023-02-09T18:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: API call to /nifi-api/resources  results in "No applicable policies could be found. Contact the system administrator."</title>
      <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363535#M239013</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nifi-c2-d01.xxx.xxx:9443/nifi-api/policies/read/resources" target="_blank"&gt;https://nifi-c2-d01.xxx.xxx:9443/nifi-api/policies/read/resources&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Unable to find access policy for read on /resources&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 18:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363535#M239013</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2023-02-09T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: API call to /nifi-api/resources  results in "No applicable policies could be found. Contact the system administrator."</title>
      <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363603#M239037</link>
      <description>&lt;P&gt;Well, it looks like nifi does not create a policy for this by default.&amp;nbsp; &lt;BR /&gt;I added a policy to&amp;nbsp;authorizations.xml as follows and it works:&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;&amp;lt;policy identifier="0c6d205e-9153-4bcd-9534-aeb029c65e10" resource="/resources" action="R"&amp;gt;&lt;BR /&gt;       &amp;lt;group identifier="2c7ce5db-0186-1000-ffff-ffffdbb1315d"/&amp;gt;&lt;BR /&gt;&amp;lt;/policy&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Feb 2023 17:42:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363603#M239037</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2023-02-13T17:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: API call to /nifi-api/resources  results in "No applicable policies could be found. Contact the system administrator."</title>
      <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363687#M239054</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103414"&gt;@JohnF&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The NiFi Resource Identifier "/resources" exists to authorize third party authorizers like Apache Ranger to retrieve a list of all current NiFi Resource Identifiers (That returned list will change anytime some new component is added in NIFi).&amp;nbsp; &amp;nbsp;In a NiFi setup to use a local authorization provider (fie-access-policy-provider) this NiFi Resource Identify would not need to be used. As NiFi is already aware of all policies in its UI for setting up policies.&amp;nbsp; So no need for it to be exposed.&lt;BR /&gt;&lt;BR /&gt;When using some external Authorizer, it would then be that Authorizer that is providing the authorizations needed to NiFi and within that external Authorizer it could authorize the "/resources" NiFi resource Identifier, if it wanted to get that listing to facilitate easier authorization policy implementation by being able to present that list of Identifiers to the end user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 14:39:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363687#M239054</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-02-13T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: API call to /nifi-api/resources  results in "No applicable policies could be found. Contact the system administrator."</title>
      <link>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363707#M239063</link>
      <description>&lt;P&gt;It just seems odd that this policy isn't created by default as this is part of the REST api.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or better documented in the REST API docs...&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 17:53:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/API-call-to-nifi-api-resources-results-in-quot-No-applicable/m-p/363707#M239063</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2023-02-13T17:53:06Z</dc:date>
    </item>
  </channel>
</rss>

