[ic] Diplay Items based on users login

Andrei Gologan interchange-users@interchange.redhat.com
Tue Feb 5 10:35:24 2002


> Hallo
>
> I hope someone knows an answer, I´ve searched the mailling lists, read the
> docs, but no good answer.
>
> I have 2 groups of users, one group should see all items, the other one
only
> some of them.
> The Dealer option changes the price, if an dealer is logged it, but
> everybody can see the articles.
>
> I need a part of the articles to be hidden to regular users.
>

Well I found a partial solution. I gave the articles different starting
letters: A for all and U for limited users. I can do searches based on that
and get the right items. But how do I tell:
use this serch for users or for superusers ?

The Superusers have dealer set to yes.

I can display another searchbox based on the dealer bit.

but how about the category_vertical (sure I can hardcode everything but it
is not so elegant)

Again: any hint idea pointer ?

Thank you
Andrei