list_editable should respect per-object permissions
|Reported by:||jdunck||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, list_editable for admin displays form fields for all objects, even if an auth backend supports per-object permissions.
This allows editing of objects even if the user shouldn't be able to.
If there's a backend that supports per-object permissions, only those rows which allow editing should have edit fields.
I think this means that FormSet created in changelist_view needs to be passed a result_list which is annotated with per-object permission flags, and modelform_factory should respect those flags.