Project

General

Profile

Bug #14505

Updated by Dominic Cleal over 8 years ago

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.  

Back