<?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: Atlas tag based policy not working on Sandbox 2.5 TP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165875#M128233</link>
    <description>&lt;P&gt;I download the HDP2.5 TP Sandbox in early July. Not sure if there is newer version out after that.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 09:21:02 GMT</pubDate>
    <dc:creator>qiwang</dc:creator>
    <dc:date>2016-08-08T09:21:02Z</dc:date>
    <item>
      <title>Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165871#M128229</link>
      <description>&lt;P&gt;I tried to follow the &lt;A href="https://github.com/hortonworks/tutorials/blob/hdp-2.5/tutorials/hortonworks/tag-based-policies-atlas-ranger/tutorial.md" rel="nofollow noopener noreferrer" target="_blank"&gt;tutorial&lt;/A&gt; on the tag based policy in Atlas, but can't seem to make it work. Actually the tutorial itself seems to be misleading with the tag based policy.&lt;/P&gt;&lt;P&gt;In &lt;A href="https://github.com/hortonworks/tutorials/blob/hdp-2.5/tutorials/hortonworks/tag-based-policies-atlas-ranger/tutorial.md#4-create-tag-and-tag-based-policy-" rel="nofollow noopener noreferrer" target="_blank"&gt;part 4&lt;/A&gt;, although it looks like the access is granted through the tag based policy by excluding admin user in deny access, it is not. Even I disable that tag based policy in Ranger, the access for admin user is still there. It is because the original 2 resource based policies are enabled which grant admin user all access. So with or without the tag based policy, the admin use always has access to the hive table.&lt;/P&gt;&lt;P&gt;I also tried is to modify the tag based policy in the tutorial so it blocks access for admin user by put the following in the deny conditions. And admin use still has access&lt;/P&gt;&lt;PRE&gt;Select Group – none
Select User – admin
Component Permission – Hive – Select
You can select the component permission through this popup:&lt;/PRE&gt;&lt;P&gt;All resourced based policy worked as expected and the problem only exist with tag related policy.&lt;/P&gt;&lt;P&gt;After some digging in Ranger audit, it seems that when tag related policy is created/changed, they were not synced to plug in, not sure if that is the reason behind the failure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6379-policy-change.png" style="width: 2451px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20357iA2A97D8B61BCB78D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6379-policy-change.png" alt="6379-policy-change.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see the sync only happened with resource based policies&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6380-plugin-sync.png" style="width: 2452px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20358i6F9D4E12707E12A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6380-plugin-sync.png" alt="6380-plugin-sync.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:16:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165871#M128229</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2019-08-18T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165872#M128230</link>
      <description>&lt;P&gt;Please provide a screenshot of the Audit panel -&amp;gt; Access tab. You can check which policy is firing and allowing access for admin from the Audit screen in the Access tab. FYI, there is no separate plugin sync for tag based and resource based policies - if you have an entry for the hiveServer2 under plugin id column after you updated the policy that means &lt;STRONG&gt;all&lt;/STRONG&gt; policies are synced.  &lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 11:09:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165872#M128230</guid>
      <dc:creator>svenkat</dc:creator>
      <dc:date>2016-08-05T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165873#M128231</link>
      <description>&lt;P&gt;I always got "Unable to connect to Audit store !!" error in Audit=&amp;gt;Access tab. Nothing in that tab&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 01:33:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165873#M128231</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-08-06T01:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165874#M128232</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3090/qiwang.html" nodeid="3090"&gt;@Qi Wang&lt;/A&gt;, let me check from my end, will keep u posted as early as possible&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 06:06:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165874#M128232</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-08-06T06:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165875#M128233</link>
      <description>&lt;P&gt;I download the HDP2.5 TP Sandbox in early July. Not sure if there is newer version out after that.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 09:21:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165875#M128233</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-08-08T09:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas tag based policy not working on Sandbox 2.5 TP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165876#M128234</link>
      <description>&lt;P&gt;this is addressed in the latest sandbox, no an issue any more&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 21:36:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-tag-based-policy-not-working-on-Sandbox-2-5-TP/m-p/165876#M128234</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-11-02T21:36:48Z</dc:date>
    </item>
  </channel>
</rss>

