Description of problem: Unable to add external event using API Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. curl -X POST --insecure -u admin@internal:abc123 -H "Content-Type: application/json" https://<ip>/ovirt-engine/api/events --data '{"origin":"thirdParty","severity":"normal","custom_id":"123","description":"hello external event."}' 2. The operation failed from canDoAction validation complaining that the user is not authorized to perform the operation Actual results: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <fault> <reason>Operation Failed</reason> <detail>[User is not authorized to perform this action.]</detail> </fault> Expected results: Adding an external event should succeed Additional info: This is a regression from 3.4
Verified in rhevm-3.5.0-0.26.el6ev.noarch curl -X POST --insecure -u admin@internal:abc123 -H "Content-Type: application/json" https://<ip>/ovirt-engine/api/events --data '{"origin":"thirdParty","severity":"normal","custom_id":"123","description":"hello external event."}' result: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <event href="/ovirt-engine/api/events/2723" id="2723"> <description>hello external event.</description> <code>9801</code> <severity>normal</severity> <time>2014-12-29T10:29:00.674+01:00</time> <origin>thirdParty</origin> <custom_id>123</custom_id> <flood_rate>30</flood_rate> </event>
rhev 3.5.0 was released. closing.