In the previous chapter, we completed the login and logout pages of our application. We learned a lot more about the Lucid and Edge. We also set up orders, order items, and improved products a bit.
We also protected the dashboard by checking for a customer session ID before allowing a customer to view the page. It was a subtle, albeit important, step in securing our application.
That’s what this chapter is all about. We’re going to improve that check by making the authorization layer robust and ubiquitous. We’ll learn about more of the security aspects of AdonisJs ...