When an Access Control List denies write access, the "Edit" button is automatically removed from the form view. However, if the access is denied by a record rule, the "Edit" button is still there.
Any hints on how to remove the Edit button when a record rule denies the access?
(Some users does have write access, so I can't just disable it for all users).