Only Allow Correct User To Edit Posts - Flask Fridays #30

in #diy3 years ago

In this video I'll show you how to make sure only the correct user can edit a post.

Up till now, anyone can edit a post, and that's no good! It's fairly easy to check to see who the correct user is for each post.

We'll also remove the edit and delete buttons from post pages for people who aren't the correct user.

✅ Watch The Flask Playlist
https://bit.ly/3ig2eJn

▶️ Get The Code
http://bit.ly/2L1jBl5

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN