http://jira.hyperic.com/browse/HHQ-1840
Can't approve a platform with a user that has create role, its giving Unauthorized response.
I was able to approve this platform with the same user from UI (see here http://10.0.0.5:7080/Resource.do?eid=1:10004)
[spider@qa1 current]$ curl http://hqadmin:hqadmin@10.0.0.5:7080/hqu/mass/autodiscovery/list.hqu -dfqdn="clone-113-2"
clone-113-3
[spider@qa1 current]$ curl http://create:create@10.0.0.5:7080/hqu/mass/autodiscovery/approve.hqu -dfqdn="clone-113-2"
Unauthorized[spider@qa1 current]$
Anonymous