[development] remove or give priority to hook_node_grants

Larry Garfield larry at garfieldtech.com
Tue Mar 31 19:09:10 UTC 2009


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


More information about the development mailing list