Whenever I want to attach a teacher/student it shows all users instead of these with the required role_id as assigned in the model class.
Model:
namespace