<?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: How to restrict dashboard access to one single user in default.meta file? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422194#M27830</link>
    <description>&lt;P&gt;Are they 'users' or 'roles'? It's a good practice to map users to roles and restrict access to knowledge objects [ e.g. views/yourdashboard] via roles, rather than individual users. So, yes, you can restrict it.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 08:40:17 GMT</pubDate>
    <dc:creator>lakshman239</dc:creator>
    <dc:date>2019-04-23T08:40:17Z</dc:date>
    <item>
      <title>How to restrict dashboard access to one single user in default.meta file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422193#M27829</link>
      <description>&lt;P&gt;I have this in default.meta file &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;access = read : [ addondev_admin, addondev_power, addondev_user, admin, can_delete, user ], write : [ addondev_admin, addondev_power, addondev_user, admin ]

addondev_admin
addondev_power
 addondev_user
admin
can_delete
user 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;These are all the list of users i have in my splunk instance this may get increased drastically may get 20 to 30 users. if i want to exclude permission to one single user(for eg., addondev_user) instead of adding all. Can i do it in this .meta file?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 08:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422193#M27829</guid>
      <dc:creator>sivaranjiniG</dc:creator>
      <dc:date>2019-04-23T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict dashboard access to one single user in default.meta file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422194#M27830</link>
      <description>&lt;P&gt;Are they 'users' or 'roles'? It's a good practice to map users to roles and restrict access to knowledge objects [ e.g. views/yourdashboard] via roles, rather than individual users. So, yes, you can restrict it.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 08:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422194#M27830</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-04-23T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict dashboard access to one single user in default.meta file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422195#M27831</link>
      <description>&lt;P&gt;Thanks for your response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
its roles actually. Let me elaborate my question,&lt;/P&gt;

&lt;P&gt;this is the content in .meta file if i exclude a dashboard access for a particular role,&lt;/P&gt;

&lt;P&gt;access = read : [ addondev_admin, addondev_power, addondev_user, admin, can_delete, multi1_admin, multi1_power, multi1_user, multi2_admin, multi2_power, multi2_user, power, sivaranjini_02_admin, sivaranjini_02_power, sivaranjini_02_user, sivaranjini_admin, sivaranjini_power, sivaranjini_user, splunk-system-role, user ],&lt;BR /&gt;
 write : [ addondev_admin, addondev_power, addondev_user, admin ]&lt;/P&gt;

&lt;P&gt;in Splunk UI i have excluded only one role added remaining, So got this updated in local.meta file. But i have to do this process through python for which i need access local.meta through my script. in this case instead of including everything Can i just use something like regex to exclude one single role &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422195#M27831</guid>
      <dc:creator>sivaranjiniG</dc:creator>
      <dc:date>2020-09-30T00:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict dashboard access to one single user in default.meta file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422196#M27832</link>
      <description>&lt;P&gt;No. I don't think the values for access can accept anything other than "*"  OR actual roles.&lt;/P&gt;

&lt;P&gt;Do you need to exclude access to one particular role for all the dashboards or just one dashboard? If its later, it could be easier to implement access rules only for that dashboard.&lt;/P&gt;

&lt;P&gt;Do you really need those many roles? if your roles follow a pattern or hierarchy/inheritance, you can use the lowest role for access:read ( so any role inheriting will have access as well).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 10:52:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-restrict-dashboard-access-to-one-single-user-in-default/m-p/422196#M27832</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-04-23T10:52:34Z</dc:date>
    </item>
  </channel>
</rss>

