Hi Berend,

Seeking advice from some other devs close by at the moment.
Will hack the core if I need to - taxonomy_form_alter() is called before
mymodule_form_alter() so it doesn't matter what gymnastics I try in the
module - the performance hit has already been taken.

It's looking like it would be alarmingly simple to add something like this
into taxonomy_form_alter():

if($form_id == 'resource_node_form' && !user_access('full resource edit')){
// strip out one vocabulary
}

Seeing as it's Drupal 5, it's unlikely the core will be updated until we
move to 6 anyway.

I'll keep you posted.

Paul

On Thu, Apr 8, 2010 at 1:49 PM, Berend de Boer <[email protected]> wrote:

> >>>>> "Paul" == Paul Bennett <[email protected]> writes:
>
>     Paul> Much as I hate it, hacking the core may be a last-ditch
>    Paul> option (before some of the content editors start sharpening
>    Paul> their pitchforks)
>
> Let us know what you choose. I really don't know any other way (except
> extremely complex ones).
>
> --
> Cheers,
>
> Berend de Boer
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]<nzphpug%[email protected]>
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to