[development] D6 Node Access, Was: D7 small survey: listing of node types at /node/add
Moshe Weitzman
weitzman at tejasa.com
Wed Dec 5 19:39:48 UTC 2007
this is unrelated to node access. it is menu callback access. yes,
this is confusing.
D6 has no node access api improvements. there is one patch waiting for
D7 which allows deny grants which are useful when running multiple
node access modules. See http://drupal.org/node/196922
On Dec 5, 2007, at 11:43 AM, Steven Jones wrote:
> Oh node access stuff, what joy!
>
> It's very cool that D6 supports this kind of menu override, I tried to
> follow the D6 dev cycle along, but didn't have time to contribute, I
> was wondering if any other node access related stuff got into D6, or
> do we still have the slightly stick mess of D5?
>
> On 05/12/2007, Moshe Weitzman <weitzman at tejasa.com> wrote:
>> One caveat - in drupal5 you can only override the callback function.
>> any changes to 'access' will be silently ignored. this form of
>> altering is not supported in d5. it is supported in d6 wth
>> hook_menu_alter()
>>
>>
>> On Dec 5, 2007, at 7:41 AM, Gábor Hojtsy wrote:
>>
>>> On Dec 5, 2007 1:46 PM, Augustin (Beginner)
>>> <drupal.beginner at wechange.org> wrote:
>>>> Obviously, there are many different workarounds, e.g. by creating
>>>> an
>>>> intermediary form to select the parent node.
>>>> But I run into this problem often and all my workarounds feel like
>>>> hacks and I am getting tired of them.
>>>>
>>>> What do you think? Would it be a useful feature for D7 to modify
>>>> the
>>>> second half of the function node_add() so that the listing can be
>>>> customized?
>>>
>>> Both Drupal 5 and to my knowledge Drupal 6 has the ability to
>>> overwrite the registered handler functions for paths you wish to
>>> override. So you can do your own listing or whatever shiny page
>>> content you'd like to display.
>>>
>>> Gabor
>>
>>
>>
>
>
> --
> Regards
> Steven Jones
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20071205/5f2cf760/attachment.bin
More information about the development
mailing list