Issue #2062027 by InternetDevels: Replace user_access() calls with ->hasPermission() in taxonomy module.