#20605: Custom base permissions ------------------------------+-------------------- Reporter: philipn | Owner: nobody Type: New feature | Status: new Component: contrib.auth | Version: 1.5 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+-------------------- Currently, Django provides 'change', 'add', and 'delete' as base permissions which are created on `syncdb`. I know you can set custom permissions on a per-model basis by listing them in `Meta`, but sometimes you want a global base permission, e.g. 'view' (this is my use case).
It looks like it may be possible to just use a setting variable in `contrib.auth.management` to accomplish this. Currently using this workaround: http://blog.nyaruka.com/adding-a-view- permission-to-django-models -- Ticket URL: <https://code.djangoproject.com/ticket/20605> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.b1d9ba89cbd663a29605dee6b33a1cc2%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.