I do not know of a solution to show a popup on a link, but dependent on your use case (especially the number of links and it's representation on the page) you may choose to hide the link with a macro. That is the user won't see the link (or anything that is inside) according to their permissions.
There are a couple of plugins you may choose from to get this functionality:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.