Level progression requires action from user
Continuing the discussion from New user features can't figure out when I'm not new anymore without refreshing the page.:
In this case a staff member manually increased your trust level. @sam I guess we have to force a full reload on the client if that is the case?
I have noticed before that you have to leave the site and come back to complete the trust level 0 to trust level 1 promotion when it happens naturally.
I would not say it requires action from the user per se, but they may not experience trust level progression until they naturally stop interacting with the site and return later.
I need to test a bit more to remember exactly what happens currently but I distinctly recall several instances where I wanted to rush the progression from tl0 to tl1 and I browsed a ton over the required limits to get it to happen before I realized I just needed to leave the site (navigate away, then navigate back) and it happened immediately at that point.
You compute the trust level on entry to the site (well, on establishment of the authenticated session, I'd presume) and cache that from there on? That's the usual way it is recommended to handle security, but when the set of capabilities change you've got to have some way to purge the (little bit of) cache and get things to be recomputed.
Or that's what it sounds like. Right sort of symptoms…
You compute the trust level on entry to the site (well, on establishment of the authenticated session, I'd presume) and cache that from there on?
I think it’s loaded every time your browser loads a new page, but with Discourse clicking on a link does not load a new page, it just replaces the relevant bits with AJAX loaded content. So refreshing the page should suffice to resync the user status (but it would be better to handle this automatically, maybe with a server-sent notification?)
but it would be better to handle this automatically, maybe with a server-sent notification
The facility is there apparently - any way of automating it somehow?