While building Recipe Binder Online an issue cropped up. The Update and Delete buttons were visible to not logged in users.
The website has been built using the Yii2 framework.
See my earlier post on the reasons for using this framework (The Idea for creating the Recipe Binder Online website)
The changes in code to hide the update and delete buttons in the view file were done with help of the following resources
https://stackoverflow.com/questions/33254870/how-to-disable-a-button-in-yii2
The image of the same web-page after the changes:
Comments
Post a Comment