Project:Fivestar
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

In D6, there's no need to specific access callback 'user_access' since that's assumed if no callback is given. Attached patch fixes those and also a couple of typos I noticed while I was in there.

AttachmentSizeStatusTest resultOperations
fivestar_menu.patch2.39 KBIgnored: Check issue status.NoneNone

Comments

#1

Only the menu fixes are valid in -dev, here they are alone.

AttachmentSizeStatusTest resultOperations
fivestar_menu.patch1.53 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» reviewed & tested by the community

These changes all look good and the patch applies cleanly. Marking RTBC.

#3

Status:reviewed & tested by the community» closed (won't fix)

After the great menu scare of Drupal 6 I intentionally always specify the access callbacks. Any site out there still running Drupal 6.0 or 6.1 is still vulnerable to the access circumvention unless defaults are always specified. Plus, I think the code is simply more readable if the callback is always specified.

nobody click here