9 What can you do? Authorization

This chapter covers

  • Adding login/logout to page navigation
  • Confirming new users with email
  • Allowing users to reset forgotten passwords
  • Allowing existing users to change passwords
  • Adding authorization roles to users
  • Securing routes in the application

In the previous chapter, you created functionality to support users logging in and out of the MyBlog application. Logging in and out is essential functionality we need to make easily accessible to users. Therefore, you’ll add this navigation functionality to the parent base.html template so that it’s available everywhere on the MyBlog application.

9.1 Login/logout navigation

You’ve created a working authentication system, but, currently, it’s accessible primarily ...

Get The Well-Grounded Python Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.