User role can be modified in user profile
This lab has an admin panel at /admin
. It's only accessible to logged-in users with a roleid
of 2.
After logging in as "wiener," I attempted to utilize the email-changing functionality. Notably, the response revealed my current "roleid" as 1, which is insufficient to access the admin panel. To bypass this restriction, I manipulated the POST request by adding a "roleid" parameter with a value of 2:
The modified response indicated a successful role update to 2:
Now equipped with the necessary role, I could access the admin panel and proceed to delete the "carlos" user, thus solving the lab.
Last updated