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