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