An #ifeditor which checks edit permissions would be nice for some template transclusion edge cases. I am not going to argue hard for it because it is very much an edge case thing, and also I threw one together on my server already, but it's a very simple addition which is useful if you want to add edit links conditionally in a template.
Topic on Extension talk:ParserFunctions
Variables that depend on the user viewing the page right now won't be added because that breaks caching.
This means a user viewing a page being logged in may cache the page, and another visitor not being logged in, or a different user, would get the cached page with the wrong value.