Dynamic Attribute: Show no longer works

But that's not the way to check this. You cannot check session like this with this syntax in a dmx-show attribute.
You need to access the logged user ID from the security provider step in your server action, which returns the logged user details, just like explained here: