MDL-24951 mod_forum: Check user capability to know what message to show.