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

If you are following this thread please refer to Security concerns with Checkmk Werk 14079 - #17 by moritz for updates on this issue!