Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] MiniMate with MV4: Questions about User Access system



******    message to minivend-users from Mike Heins <mike@minivend.com>     ******

Quoting Mark Stosberg (mark@summersault.com):
> 
> 
> Hello,
> 
>   I'm using MiniMate with MV4beta1. I am developing a site modeled
> somewhat after Amazon zShops. I would like multiple vendors to be able
> to add,update and delete just their products from 5 different tables.
> I'm exploring using MiniMate to do this. Is it possible to restrict
> access to a table equivalent to something like the SQL "select * from
> products where user_id = 66". Basically, they should just be able to
> alter the items that they own, but they will be in a table that a number
> of people need access to. I'm guessing the "Keys allowed" and "Owner
> field" have something to do with this if it's possible, but the
> documentation is not complete yet.
>   It looks like some very powerful and useful software! (once I figure
> it out... :) 

Just set "owner_field" to the field in the database which contains
the owner ID. This should match the MiniMate user ID; at that point
they will only be able to update records which they "own".

I am not sure if I handle insertion yet; but I think it works.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Just because something is           131 Willow Lane, Floor 2  | ||  _ \
obviously happening doesn't         Oxford, OH  45056         | || |_) |
mean something obvious is           <mikeh@minivend.com>     |___|  _ <
happening. --Larry Wall             513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: