> > @auth.requires(lambda: auth.has_membership(ADMIN)) > def router(): > [snip] > adjustCmsMenu() > redirect(url) >
The menu is stored on the response object, which only lives during the request. Above, you adjust the menu, but then immediately redirect, which starts a new request (and therefore discards the current response). Instead, maybe you should store the menu in the session if you want it to survive across requests. Anthony

