[backend] make roles available to the scheduler so that checkroles() can work