Permissions for automation user to run cmk-agent-ctl register?

Yep, same thought here.