Bug 1324511

Summary: Foreman smart proxy puppetca certificates not shown
Product: Red Hat Satellite Reporter: Tomer Brisker <tbrisker>
Component: Users & RolesAssignee: Tomer Brisker <tbrisker>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.4   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14505
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 14:42:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomer Brisker 2016-04-06 13:53:53 UTC
I have a user with the following permissions: 

<pre>
shell# hammer --output json user info --login XXXX
{
  "Id": XXXX,
  "Login": "XXXXX",
  "Name": "XXXXXXXXXXXXXXXX",
  "Email": "XXXXXXXXXXXXXXXXX",
  "Admin": false,
  "Authorized by": {
    "id": 1,
    "type": "AuthSourceInternal",
    "name": "Internal"
  },
  "Locale": "XX",
  "Timezone": "XX",
  "Last login": "XXXXXXXXXXXXX",
  "Default organization": null,
  "Default location": null,
  "Roles": [
    {
      "name": "AccountAdministrator",
      "id": 9
    },
    {
      "name": "Anonymous",
      "id": 8
    }
  ],
  "User groups": [
    
  ],
  "Created at": "XXXX",
  "Updated at": "XXXX"
}

    
shell# hammer --output json filter list --search "--role=AccountAdministrator"

  {
    "Id": XXXX,
    "Resource type": "SmartProxy",
    "Search": "none",
    "Unlimited?": true,
    "Role": {
      "name": "AccountAdministrator",
      "id": XXXX
    },
    "Permissions": [
      "view_smart_proxies",
      "view_smart_proxies_autosign",
      "view_smart_proxies_puppetca",
      "edit_smart_proxies_puppetca",
      "destroy_smart_proxies_puppetca"
    ]
  },
</pre>

However on centos7 + foreman-1.11.0-1.el7.noarch I can not see the certificates (See Screeshot)

If I grant "Manager" permissions to the user, it still does not work.

Comment 1 Tomer Brisker 2016-04-06 13:53:55 UTC
Created from redmine issue http://projects.theforeman.org/issues/14505

Comment 2 Bryan Kearney 2016-04-06 14:13:03 UTC
Upstream bug assigned to tbrisker

Comment 3 Tomer Brisker 2016-04-06 14:42:06 UTC
This got cloned twice by mistake.

*** This bug has been marked as a duplicate of bug 1324516 ***