On Jan 23, 2006, at 11:53 AM, Andy Shaw wrote:
Quick query: is there an easy way to limit staff users so that they
can
only alter records that belong to them? Specifically, so that only
their
own records show up in the admin interface. All the relevant models
have
an owner field that points to the correct user (via an intermediary
model in one case), and I've written some decidedly hacky views/model
validators that stop users altering other records, but they don't see
the error until they try to save their changes.
This currently isn't possible.
It's probably the #1 feature request for the admin and a topic of
discussion on django-dev, so there's a good chance it'll happen in
the not-so-distant-future. Patches are welcome, of course :)
Jacob