Default url customising

Is it possible to customize c.JupyterHub.default_url depending on username or user group. So, main idea is to navigate different users (depending on their roles) to different pages.

According to Application configuration — JupyterHub 1.5.0 documentation you can use a callable function.

If that’s not suitable then c.Spawner.default_url is a property of the spawner, which means it can be configured independently for each user