Handle admin case and fix check for canLink method.