Daemon Permissions
With the exception of the XML daemon, none of the daemons have any security requirements. Therefore, you can set them up without any specific permissions. First, create a role named daemon with no security rights. Then, create a user named daemon that has access to all entities and is linked to the role daemon in all entities.
The XML daemon is a special case because it can be used for many different activities. For example, an xml message to create a customer invoice means that the daemon user must have access to the activity Customer Invoice Create. Therefore, for the XML daemon, you must create a specific role, or roles, depending on what you are using the daemon to do.