<?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 can I give a role read-only access to users? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642065#M16222</link>
    <description>&lt;P&gt;unfortunately using reports is not an option. I've been trying to use restmap.conf to change the capability required for a GET method accessing authentication/users.. Although no luck. For reference here's what it looks like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[authentication-users:authentication-users]
match=/authentication/users
capability.get=admin_all_objects&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;not sure what I might be doing wrong? This might be a better solution for my use case, if it works that is&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 20:57:50 GMT</pubDate>
    <dc:creator>dudhatjanhavi</dc:creator>
    <dc:date>2023-05-02T20:57:50Z</dc:date>
    <item>
      <title>How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642028#M16217</link>
      <description>&lt;P&gt;I created a new role in Splunk, let's say "RoleA". I want RoleA to be able to see a list of all users and see all related information (like name, email, roles assigned etc.). However I don't want to allow RoleA to edit those users, or create or delete them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I remove 'edit_user' capability from RoleA, I can achieve the latter - it cannot create/edit/delete the users. However with that capability not assigned to RoleA, it can't see a list of all users.&lt;/P&gt;
&lt;P&gt;Is there a way I can achieve both?&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 18:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642028#M16217</guid>
      <dc:creator>dudhatjanhavi</dc:creator>
      <dc:date>2023-05-02T18:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642053#M16219</link>
      <description>&lt;P&gt;Create a report that uses REST to collect and present the desired information.&amp;nbsp; Set the report to Run As Owner then allow RoleA to read it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 19:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642053#M16219</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-02T19:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642056#M16220</link>
      <description>&lt;P&gt;I don't think you can do this with permissions alone, as e.g. a call to services/authentication/users with | rest is also limited to your permissions and a "readonly" capability for users exists to my knowledge.&lt;/P&gt;&lt;P&gt;Depending on your use case, you could collect the users in a summary index or a lookup and have your role search that instead (or better yet, as rich mentioned while I was typing, use a report running as owner!)&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 19:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642056#M16220</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2023-05-02T19:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642065#M16222</link>
      <description>&lt;P&gt;unfortunately using reports is not an option. I've been trying to use restmap.conf to change the capability required for a GET method accessing authentication/users.. Although no luck. For reference here's what it looks like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[authentication-users:authentication-users]
match=/authentication/users
capability.get=admin_all_objects&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;not sure what I might be doing wrong? This might be a better solution for my use case, if it works that is&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 20:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642065#M16222</guid>
      <dc:creator>dudhatjanhavi</dc:creator>
      <dc:date>2023-05-02T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642094#M16227</link>
      <description>&lt;P&gt;It should not be a permission issue against the endpoint. You'll be able to run this search as any user:&lt;/P&gt;&lt;P&gt;| rest splunk_server=local services/authentication/users&lt;/P&gt;&lt;P&gt;But it'll only return what your roles permit you to see, i.e. only your own user or all users.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 05:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642094#M16227</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2023-05-03T05:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642338#M16250</link>
      <description>&lt;P class="lia-align-left"&gt;Yeah, however i want this role to be able to get a list of all users when it hits that endpoint. I want it to be so that any role with the admin_all_objects capability can get a list of all users. They can't edit users,create new users, etc though&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 20:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/642338#M16250</guid>
      <dc:creator>dudhatjanhavi</dc:creator>
      <dc:date>2023-05-04T20:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I give a role read-only access to users?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/645015#M16462</link>
      <description>&lt;P&gt;As I said earlier, I don't think this is possible. You could create an idea on ideas.splunk.com to have a "readonly-admin" role, but I am not sure if this is a very common request that will get many votes/attention.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 09:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-give-a-role-read-only-access-to-users/m-p/645015#M16462</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2023-05-30T09:40:31Z</dc:date>
    </item>
  </channel>
</rss>

