Fixed gallery module (removed previously $panthera -> addPermission() function)