Hi Emilio,
The userrole is used to show/hide specific elements on a page. Certain things are done on page load, and are not done again when you browse through the application. As far as I know, changing a userrole requires a browser refresh to fully process all the changes to the userrole.
You can call location.reload(); from a JavaScript action in a nanoflow to do so.
in nanoflow commons there is an activity called reload that is a JSA with mx.reload.
we now have a page with a DS_Reload that triggers it.
works perfectly.