hook_permission() defines "view any $box_type_name boxes"
But box_access() is checking "$op any {$box->type} box".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mariacha1’s picture

Looks like the mismatched permissions names come up a few times. This patch takes care of a couple more user_access calls that are looking for "XX any YY box" instead of "XX any YY boxes"

PatchRanger’s picture

Closed #1814740: Only SuperAdmin can see block/box as a duplicate of this.

thehong’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Please commit ;(

spiritfelix’s picture

same problem, thanks for working!
It works well for me!