You have to test that the user has rights to change the 3 record. If so then they could just change it through the form anyway. If not then you throw an unauthorised error.
Jul 15, 2017
6
Level 1
Prevent change ID parameter from url action
Hello friends, if my form has action: dashboard/entreprises/2/update . Then if I change it with Inspect Element to dashboard/entreprises/3/update for example, then it updates all data you had in dashboard/entreprises/3/update to dashboard/entreprises/2/update
Is there any way to prevent this?
Best Regards. :)
Please or to participate in this conversation.