Closed allmightyspiff closed 5 months ago
slcli --format=json call-api SoftLayer_User_Permission_Action getAllObjects --mask="mask[id,keyName]" | grep TICKET "keyName": "TICKET_VIEW" "keyName": "TICKET_EDIT" "keyName": "TICKET_ADD" "keyName": "TICKET_SEARCH" "keyName": "TICKET_MANAGE" "keyName": "TICKET_VIEW_BY_HARDWARE" "keyName": "TICKET_VIEW_BY_VIRTUAL_GUEST" "keyName": "TICKET_VIEW_ALL"
BUT in the slcli
slcli -v user permissions 8344458 | grep TICKET Calling: SoftLayer_User_Customer::getObject(id=8344458, mask='mask[id, permissions, isMasterUserFlag, roles]', filter='None', args=(), limit=None, offset=None) Calling: SoftLayer_User_Permission_Action::getAllObjects(id=None, mask='', filter='None', args=(), limit=None, offset=None) Add / Edit Tickets TICKET_MANAGE False View Tickets by Hardware Access TICKET_VIEW_BY_HARDWARE False View Tickets by Computing Instance Access TICKET_VIEW_BY_VIRTUAL_GUEST False
Might also need to refactor to show permissions like from SoftLayer_User_Permission_Department::getAllObjects
BUT in the slcli
Might also need to refactor to show permissions like from SoftLayer_User_Permission_Department::getAllObjects