'Add Another' link appears next to ForeignKey field when user has no permission.
|Reported by:||menollo||Owned by:||nobody|
|Severity:||Keywords:||foreignkey admin add link|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When I have a model like this:
class A(models.Model): title = models.CharField(max_length=255) class B(models.Model): title = models.CharField(max_length=255) a = models.ForeignKey(A)
and the user has no permission to add instances of class A.
The 'Add Another' link is stil visible in the change form (admin) of class B. (on click it gives a permission denied page)
while in the admin homepage, the 'Add' link is not visible at all (for that user)... this seems inconsistent.