Check permissions before displaying admin links