If the user is watching a record of a model where he does not have "write" access, and he clicks the button, he receives an AccessError because of the forced write.
(In my use case, the button has type="object" and calls a method which redirects the user to another view on a different object.)
This fix introduces a regression:
If the user is watching a record of a model where he does not have "write" access, and he clicks the button, he receives an AccessError because of the forced write.
(In my use case, the button has type="object" and calls a method which redirects the user to another view on a different object.)