diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index cf7ea83..7dd5282 100644
a
|
b
|
class ModelAdmin(BaseModelAdmin):
|
387 | 387 | request has permission to change *any* object of the given type. |
388 | 388 | """ |
389 | 389 | opts = self.opts |
390 | | return request.user.has_perm(opts.app_label + '.' + opts.get_change_permission()) |
| 390 | return request.user.has_perm(opts.app_label + '.' + opts.get_change_permission(), obj) |
391 | 391 | |
392 | 392 | def has_delete_permission(self, request, obj=None): |
393 | 393 | """ |
… |
… |
class ModelAdmin(BaseModelAdmin):
|
401 | 401 | request has permission to delete *any* object of the given type. |
402 | 402 | """ |
403 | 403 | opts = self.opts |
404 | | return request.user.has_perm(opts.app_label + '.' + opts.get_delete_permission()) |
| 404 | return request.user.has_perm(opts.app_label + '.' + opts.get_delete_permission(), obj) |
405 | 405 | |
406 | 406 | def get_model_perms(self, request): |
407 | 407 | """ |