An Access rights row gives write access on a model (res_partner for instance), then the edit button appears on all records and I can edit and save any res_partner records.
Then I add a record rule that restricts write access to some records only. The rule works because when I try to save other records the "The requested operation cannot be completed due to security restrictions" error appears, but the useless and misleading Edit button still appears on all res_partner records.
Why? How to show or enable the Edit button only on records with write access rights?
Thanks