I look in the code admin.options.BaseModelAdmin.has_module_permission, who regulates access to the admin. Now any custom permission automatically makes read access to the admin area. So?
среда, 8 июля 2015 г., 0:48:00 UTC+10 пользователь Григорий Крамаренко написал: > > Let's get into the admin to check only three permissions in > has_module_permissions. > > вторник, 7 июля 2015 г., 23:23:12 UTC+10 пользователь Tim Graham написал: >> >> Since the existing permissions are used in the admin, I don't think >> adding a view permission that has no effect there would be very intuitive. >> For projects that do want another permission such as "view" on all its >> models, I guess an easy way to do that could be useful. >> >>> >>> -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" 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-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ef60e4a1-d3ac-42c3-af41-aae796f60474%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
