[ic] Restricting User views to products they own

Paul Jordan interchange-users@icdevgroup.org
Fri Jan 31 11:59:00 2003


>
> (1)  Is it a good idea to keep multiple stores (small stores with 5 - 50
> items) in one Catalog?  And add a username for each store owner and make
> them a member of the Merchandising & Orders/Sales group.
> My challenge is limiting each store owners to view only the products they
> entered.  Reading through the Interchange Manual, I found that I could use
> the TableRestrict directive in Catalog.cfg, but I am not sure if it is the
> best way to do this.
>
> Thanks!
>  Tina


Hi Tina

It could be, you have to think about some things first:
http://www.icdevgroup.org/cgi-bin/ic/docfly.html?mv_arg=icfaq06%2e04

As for using ADMIN, yes I believe you have to add a field in the products
table named 'owner'. There is stuff in the archives on this.

I am going down this road, what I am doing is designing an ADMIN-lite for
the front end (vendor section), that has bare necessity functionality for
*any vendor. This allows me to better control the layout of item
insert/editing, order views, etc, and not miss out on any great upgrades
from the devgroup in ADMIN. You can copy admin pages into pages/admin and
they will override the lib/UI/pages/admin/. So you can play with them there.

When your dealing with multiple vendors, there is a lot to think about, and
even more when these vendors will be maintaining their own stock.

Paul