MDL-27036 AICC HACP handling - add missing check for correct user with has_capability.