[development] remove or give priority to hook_node_grants

Ken Rickard agentrickard at gmail.com
Tue Mar 31 20:20:20 UTC 2009


Larry means "Please work on this existing patch";

 http://drupal.org/node/309007

 -- Ken

On Tue, Mar 31, 2009 at 3:09 PM, Larry Garfield <larry at garfieldtech.com> wrote:
> Note that if you make a patch for Drupal 7 to add an alter there, it gets
> committed, and then you make a backport of it, God will only maim a kitten in
> response rather than killing one.
>
> Translation: Patch please, Lluis!  That would be a great addition to Drupal 7.
>
> On Tuesday 31 March 2009 11:46:31 am Moshe Weitzman wrote:
>> Just add a drupal_alter() right after all the grants have been
>> provided. yes, this requires a 1 line hack to core.
>>
>> On Tue, Mar 31, 2009 at 11:59 AM, Lluís <enboig at gmail.com> wrote:
>> > I think this would be great; but it wouldn't solve my problem neither.
>> > How can I "remove" a realm from $grants[$realm]
>> >
>> > I tried to "overwrite" it, but it uses arrays and merge them, so it is
>> > impossible.
>
> --
> Larry Garfield
> larry at garfieldtech.com
>



-- 
Ken Rickard
agentrickard at gmail.com
http://ken.therickards.com


More information about the development mailing list