<?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 Restrict access to views based on roles/users in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Restrict-access-to-views-based-on-roles-users/m-p/292266#M166411</link>
    <description>&lt;P&gt;I have 100 views and 5 different users/roles. Each user can access 20 views and this is based on prefix of those 20 views.&lt;BR /&gt;
Example:&lt;BR /&gt;
Type1_view1&lt;BR /&gt;
Type1_view2&lt;BR /&gt;
..&lt;BR /&gt;
..&lt;BR /&gt;
Type1_view20&lt;BR /&gt;
Type2_view1&lt;BR /&gt;
Type2_view2&lt;BR /&gt;
..&lt;BR /&gt;
..&lt;BR /&gt;
Type2_view20&lt;BR /&gt;
Type3_view1&lt;BR /&gt;
..&lt;BR /&gt;
Type5_view20&lt;/P&gt;

&lt;P&gt;I edited local.meta as below but it is not working, each user is accessing all the 100 views. I need user 1 to access only Type1_* views, user2 to access only Type2_* views and so on.&lt;BR /&gt;
[views/Type1_*]&lt;BR /&gt;
access = read : [ user1 ], write : [ user1]&lt;/P&gt;

&lt;P&gt;[views/Type2_*]&lt;BR /&gt;
access = read : [ user2 ], write : [ user2]&lt;/P&gt;

&lt;P&gt;Please suggest any solution you have, thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:26:45 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-09-29T15:26:45Z</dc:date>
    <item>
      <title>Restrict access to views based on roles/users</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Restrict-access-to-views-based-on-roles-users/m-p/292266#M166411</link>
      <description>&lt;P&gt;I have 100 views and 5 different users/roles. Each user can access 20 views and this is based on prefix of those 20 views.&lt;BR /&gt;
Example:&lt;BR /&gt;
Type1_view1&lt;BR /&gt;
Type1_view2&lt;BR /&gt;
..&lt;BR /&gt;
..&lt;BR /&gt;
Type1_view20&lt;BR /&gt;
Type2_view1&lt;BR /&gt;
Type2_view2&lt;BR /&gt;
..&lt;BR /&gt;
..&lt;BR /&gt;
Type2_view20&lt;BR /&gt;
Type3_view1&lt;BR /&gt;
..&lt;BR /&gt;
Type5_view20&lt;/P&gt;

&lt;P&gt;I edited local.meta as below but it is not working, each user is accessing all the 100 views. I need user 1 to access only Type1_* views, user2 to access only Type2_* views and so on.&lt;BR /&gt;
[views/Type1_*]&lt;BR /&gt;
access = read : [ user1 ], write : [ user1]&lt;/P&gt;

&lt;P&gt;[views/Type2_*]&lt;BR /&gt;
access = read : [ user2 ], write : [ user2]&lt;/P&gt;

&lt;P&gt;Please suggest any solution you have, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Restrict-access-to-views-based-on-roles-users/m-p/292266#M166411</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-09-29T15:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict access to views based on roles/users</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Restrict-access-to-views-based-on-roles-users/m-p/292267#M166412</link>
      <description>&lt;P&gt;Hi  manjunathmeti,&lt;BR /&gt;
I don't think that you can use asterisk in local.meta, but you have a stanza for each Splunk Knowledge Object (views, fields, ...)&lt;/P&gt;

&lt;P&gt;Before manually modify local.meta, try to modify, using web gui, one view for each user.&lt;BR /&gt;
Then verify in local.meta if it's the same you manually did, and replicate for all objects.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:16:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Restrict-access-to-views-based-on-roles-users/m-p/292267#M166412</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-17T07:16:39Z</dc:date>
    </item>
  </channel>
</rss>

