Closed (fixed)
Project:
Domain
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Apr 2008 at 00:04 UTC
Updated:
4 May 2008 at 22:01 UTC
Jump to comment: Most recent file
The following is from the developer list, repeated verbatim.
Ironically, I was going to do this anyway and then stopped.
The primary change is to the handling of access callbacks and arguments in
hook_menu. Modules updated to account for this part of the change WILL also work
correctly with Drupal 6.1 and 6.0. Thus, we encourage you to make any necessary
changes to your 6.x compatible modules as soon as possible, so that there will
be no loss of functionality when people upgrade to 6.2.
The first, main part of the API change consists of requiring an explicit
definition of the access parameters for each menu router item. Access callbacks
and arguments will no longer be inherited by items that might be considered to
be children based on their path. The only exception to this is for items of type
MENU_DEFAULT_LOCAL_TASK. The function user_access() is still the default access
callback, so you may continue to rely upon that being used as the default if you
only define the access arguments. Note that modules that currently rely on
access inheritance WILL NOT work correctly with 6.2.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | domain-menu.patch | 4.1 KB | agentrickard |
| #2 | domain.module.txt | 41.86 KB | georgw |
Comments
Comment #1
agentrickardSee http://drupal.org/node/247108
Comment #2
georgw commentedUploaded patched domain.module file with fix for this issue.
Comment #3
agentrickardWhat about the other modules in the download?
BTW: You can attach .patch files to issues.
See http://drupal.org/patch/create for the project standards regarding patch submission.
Comment #4
agentrickardThis is the proper patch. Committed to HEAD.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.