13
I've run into this cache issue in many places. For instance, the User Menu block does a similar thing with the Admin Link if the cache is turned on (showing the admin link to users that don't have admin permissions).
Why turn on caching for the profile module in the first place?
The module caching is a blunt force instrument in general, and module wide, for all the pages and items in the module.
While
the bug entry on this requests that we disable caching for the edit profile page, the problem would still exist for the userinfo page, too, and if the visibility permissions are set differently, then that would also similarly present a problem. Same for the search page and such.
So, I ask, is it useful to spend time on fixing this issue when likely one should never turn on caching for the profile module at all?