Chapter 6. User Management
In the previous chapters, we developed mechanisms to provide login and logout capabilities and client-side session monitoring, and we also implemented a dynamic menu based on the user permissions. However, all the users, groups, and permissions were added manually to the database until now. We cannot do this every time we need to grant access to the application to a new user or change the user permissions. For this reason, we will implement a screen where we can create new users and grant or change the permissions. So in this chapter, we will cover:
- Listing all the users from the system
- Creating, editing and deleting users
- Picture preview of a file upload (user's picture)