Preparing for permissions based links() function

Nothing too special here. But it needed to be updated on Github.