I would think that you could pass the dax:authorrole to a javascript, and have the javascript perform different actions depending on the actual value of the dax:authorrole. If that is what you want to do.