User Roles With users Management help


#1

I have created a borrowing system with users management. The overall functionalities of the borrowing system is done, but i want only users with the role_id of 2 can access the users management function. The database is done, i just need help on how to restrict the users with the role_id of 2 to the users management.