#13503: Documentation for "Custom permissions" is misleading
---------------------------+------------------------------------------------
 Reporter:  dmoisset       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The documentation at http://docs.djangoproject.com/en/dev/topics/auth/#id2
 gives an example of custom permissions. It Creates a "USCitizen" model,
 and custom permissions "can drive", "can vote", etc. These makes it look
 like the permissions system allows you to describe actions performed by
 models; when actually the permission system allows you to describe actions
 performed by *users* (django.contrib.auth.models.User) over other models.

 A more realistic (and useful) example, would be something on the lines of
 a model "Article" with permissions "can publish" and "can edit title", for
 example

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13503>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to