Issue #2061969 by InternetDevels, andypost: Replace user_access() calls with ->hasPermission() in aggregator module.