id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 11136 add button to related field in admin to be put only if user is authorized to add Sergio Andreozzi anonymous "Here is the example situation: {{{ - my model is composed of two classes A and B - class A has a field being a foreign key to a B class field - I have permission to add A elements, but not to add B elements - in the admin, when I add an A element, I see the '+' button on the foreign key field to B even though I do not have the rights to create a B element - therefore, I think I can add the element, but when I click on +, I get a pop-up with permission denied }}} it would be nicer not to show at all the ""+""; better user experience have a look at the second part of this thread: http://groups.google.com/group/django-users/browse_thread/thread/ceef2d6fd5f5a528 " Cleanup/optimization closed contrib.admin 1.0 Normal duplicate add button Accepted 0 0 0 0 0 1