Monday, May 30, 2016

Adding view permission by default to auth_permission

I am surprised this feature is not implemented yet, at the moment when we create a new model  three permissions are created automatically:
  • add_permission
  • change_permission
  • delete_permission
We really missing the view_permission here, when we want staff to be able to see the content but not being able to modify it. Searching a bit,  you can find many different implementations to achieve this, but all of them are extending django.contrib.admin.ModelAdmin. Having so many people rewriting these methods in my opinion is a clear sign that this feature should be part of the core. 

Regards,

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ad0d967f-2efb-43e8-b9f6-4234fa886f81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment