Issue #2061979 by rhm50, InternetDevels: Replace user_access() calls with ->hasPermission() in contextual module.