Issue #2333715 by alberto56, mike.davis: Make it possible to programmatically add user-selectable roles