We are working on a project where some people (which are member of the
staff) need to see one of the administration page (And be able to use
the search, sort, .. process) without having any right to the data but
be able to read them, sort, and search.
It is the first time that I need this functionnality since before, I
created my own view.
Django administration is very efficient with the search, sort by date
and I would like to using this backend to develop this page.
How can I add a view permission to my model, so people can see the
content of the database without being able to modify it ?
What are the issues so that it is not implemented yet ?
Thank you for your help.
Natim
Django-developers is for discussing the development of Django itself.
If you have a 'how do I' type question, you should ask on
django-users.
Yours,
Russ Magee %-)
On 4 jan, 11:23, Russell Keith-Magee <freakboy3...@gmail.com> wrote:
Hello,
The first question is not really a how to but more a implementation
question.
The How-to question is more here to say: Why to find something more
difficult when it is so easy to add a view permission to the admin.
The real question is: Is it possible to implements the view
permission in Django admin?
Why isn't it implemented yet since it seems to be useful for numbers
of users and that there is no direct security issues with that?
Regards,
Rémy
I don't want to seem rude, but:
http://www.google.com/search?q=django+view+permission+admin
As far as I can make out, the second and third result answer your question.
Yours,
Russ Magee %-)
You are not rude, it completly answer my question.
Thank you.
Regars,
Rémy
For people who may look for the answer:
It’s not intended to be a public interface to data, nor is it intended
to allow for sophisticated sorting and searching of your data. As we
said early in this chapter, it’s for trusted site administrators.
Keeping this sweet spot in mind is the key to effective admin-site
usage.