<?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: Cannot view users with &amp;quot;can_delete&amp;quot; role in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426194#M74716</link>
    <description>&lt;P&gt;sweet. submitted a bug report via support portal&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 22:43:11 GMT</pubDate>
    <dc:creator>nick405060</dc:creator>
    <dc:date>2019-02-13T22:43:11Z</dc:date>
    <item>
      <title>Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426187#M74709</link>
      <description>&lt;P&gt;If I (as a user with admin role) assign the "can_delete" role to another admin role user, I can no longer see that user in the Settings &amp;gt; Access Controls &amp;gt; Users view.  That user also does not show up in a rest call for the list of all users &lt;/P&gt;

&lt;P&gt;| rest /services/authentication/users/ splunk_server=local&lt;/P&gt;

&lt;P&gt;However, I CAN query on the missing user and get all of the information:&lt;/P&gt;

&lt;P&gt;| rest /services/authentication/users/mysteryuserid splunk_server=local&lt;/P&gt;

&lt;P&gt;I have tried removing the edit_roles_grantable capability but it does not change the results.&lt;/P&gt;

&lt;P&gt;This issue causes a program we use to manage users and roles to fail since it does not see an existing user with "can_delete" role and then tries to create a new user when the user already exists.&lt;/P&gt;

&lt;P&gt;Splunk Enterprise 7.2.1.  This was not the case in Splunk Enterprise 6.6.3.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426187#M74709</guid>
      <dc:creator>hunderliggur</dc:creator>
      <dc:date>2020-09-29T22:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426188#M74710</link>
      <description>&lt;P&gt;Hi hunderliggur!&lt;/P&gt;

&lt;P&gt;My full installation of Splunk 7.2.3 (Ubuntu 16.04) did not have this problem. I did try using &lt;A href="https://github.com/splunk/docker-splunk"&gt;Docker Splunk&lt;/A&gt; to try version 7.2.1 and could not reproduce the problem there either. &lt;/P&gt;

&lt;P&gt;Reading through the patch notes, I wonder if &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/ReleaseNotes/Knownissues"&gt;SPL-129285&lt;/A&gt; could be related. "The search scheduler (SavedSplunker) has scaling problems with high disabled user count and external auth systems (SAML &amp;amp; LDAP)". &lt;/P&gt;

&lt;P&gt;Best of luck! &lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:30:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426188#M74710</guid>
      <dc:creator>ellothere</dc:creator>
      <dc:date>2019-01-24T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426189#M74711</link>
      <description>&lt;P&gt;I resolved my own problem.  Comparing our two customer deployments and our in-house deployment I found that the instance with the visibility issues was caused by an edit in ./etc/system/local/authorize.conf.  In the admin stanza we had:&lt;/P&gt;

&lt;P&gt;[role_admin]&lt;BR /&gt;
...&lt;BR /&gt;
grantableRoles = admin&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I removed the grantableRoles restriction and all is working now.&lt;/P&gt;

&lt;P&gt;Weird effects&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 18:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426189#M74711</guid>
      <dc:creator>hunderliggur</dc:creator>
      <dc:date>2019-01-24T18:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426190#M74712</link>
      <description>&lt;P&gt;This note showed up in the Admin Manual with version 7.2.0:&lt;/P&gt;

&lt;P&gt;grantableRoles = &lt;BR /&gt;
* Semicolon delimited list of roles that can be granted when edit_user&lt;BR /&gt;
  capability is present.&lt;BR /&gt;
* By default, a role with 'edit_user' capability can create/edit a user and&lt;BR /&gt;
  assign any role to them. Roles assigned to users can be restricted by assigning&lt;BR /&gt;
  'edit_grantable_role' capability and specifying the roles in 'grantableRoles'.&lt;BR /&gt;
  When you set &lt;CODE&gt;grantableRoles&lt;/CODE&gt;, the roles that can be assigned will be &lt;BR /&gt;
  restricted to the ones whose capabilities are a proper subset of those in the &lt;BR /&gt;
  roles provided.&lt;BR /&gt;
* For a role that has no edit_user capability, grantableRoles has no effect.&lt;BR /&gt;
**** NOTE: A role that has been assigned 'grantableRoles' can list only the users&lt;BR /&gt;
  whose capabilities are a subset of all capabilities of the roles assigned to &lt;BR /&gt;
  'grantableRoles'.***&lt;/P&gt;

&lt;P&gt;The values for [role_admin] in default have edit_roles_grantable = enabled but no entry for grantableRoles. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426190#M74712</guid>
      <dc:creator>hunderliggur</dc:creator>
      <dc:date>2020-09-29T22:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426191#M74713</link>
      <description>&lt;P&gt;This is absolutely nuts. I had the same issue. My admin account couldn't see any of the other admin accounts??? I understand the explanation in the above comment, but HOW on earth was this flag set without me knowing about it? This definitely needs to be fixed.... simple permissions changes in Splunk web should NOT secretly somehow set this flag to true.&lt;/P&gt;

&lt;P&gt;Absolutely unforgivable in my opinion.&lt;/P&gt;

&lt;P&gt;EDIT: Figured out how the flag was set and I can reproduce. In Splunk web, I added a default app for the admin role (simply the launcher) and that ALSO sets "grantableRoles = admin" for the admin role. This is not okay whatsoever. So in 7.2 if you edit the default app for a role, a byproduct of that action is making it so all other users with that role are invisible??? Lmao&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:24:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426191#M74713</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-02-13T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426192#M74714</link>
      <description>&lt;P&gt;Nick - Thanks for finding out how this happened.  I had a contact on another Splunk team that ran into the same problem.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:49:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426192#M74714</guid>
      <dc:creator>hunderliggur</dc:creator>
      <dc:date>2019-02-13T21:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426193#M74715</link>
      <description>&lt;P&gt;the bug may exist only for default roles. i can recreate it by editing the default app for the admin role, but editing the default app for a role that i defined (called testuser_management) does not add grantableRoles.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:55:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426193#M74715</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-02-13T21:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot view users with "can_delete" role</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426194#M74716</link>
      <description>&lt;P&gt;sweet. submitted a bug report via support portal&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 22:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-view-users-with-quot-can-delete-quot-role/m-p/426194#M74716</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-02-13T22:43:11Z</dc:date>
    </item>
  </channel>
</rss>

