Hello,

as the first step, you may want to look at [1]. Also, there is
django-guardian[2], which may be a bit more appropriate for your situation.

Best,
Gergely

[1]
https://docs.djangoproject.com/en/1.8/topics/auth/default/#topic-authorization
[2] https://django-guardian.readthedocs.org/en/v1.2/

2015-06-13 14:42 GMT+02:00 akshat <[email protected]>:

> I have a 'Document' model which has many-to-many relationship with User
> model.There is a separate web page in my project which displays the
> Document instance in a text editor.
>
> Now suppose user who created one document wants to invite other users to
> this document.But he wants to give read-only permission to some and
> read-write permission to others.
>
> How do I implement this permission functionality in Django?How does groups
> and other permissions frameworks work in Django?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5bb18069-5121-4ccf-8093-f70d5acced4e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5bb18069-5121-4ccf-8093-f70d5acced4e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACczBUJ5MdCOT7EB-c7jW0hY4Ou_jJrf%3DKQav8_6iEzUpRMM9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to