# Implementing the manage mentors in ScholarX

**URL:** <https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199>\
**Category:** ScholarX\
**Created:** [October 31, 2020, 6:59am UTC](https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199 "2020-10-31T06:59:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![miluckshan-j](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@miluckshan-j](https://sef.discourse.group/u/miluckshan-j)\
**Post date:** [October 31, 2020, 6:59am UTC](https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199/1 "2020-10-31T06:59:42Z")

</div>

Hey,

> The first task is to implement approve/decline mentor

**The scenario for the implementation is given below:**

Users can apply as a mentor for a program. As admins, we will short list few mentors for the program. Therefore it is essential to have a feature to approve/decline in the MENTOR\_VERIFICATION\_PERIOD.

**The wireframe is as follows:**

 ![31_10_20](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/f0f31a96d957f15583aa6cbf0fd726f59237a9f0.png)

**Approach**

- I’ll be using this endpoint to achieve the task where the appoved/declined state would be fetched and edited

`PUT /{id}/state`

- I’m hoping to use the [switch](https://ant.design/components/switch/) component as it would give a clear idea on the two states.

---

<div class="post-metadata">

**Author:** ![miluckshan-j](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@miluckshan-j](https://sef.discourse.group/u/miluckshan-j)\
**Post date:** [November 3, 2020, 5:27pm UTC](https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199/2 "2020-11-03T17:27:48Z")

</div>

An issue was created for the above task

> <https://github.com/sef-global/scholarx-frontend/issues/45>
>
> Is your feature request related to a problem? Please describe.
> An admin should be able to approve or reject mentors of a...

---

<div class="post-metadata">

**Author:** ![miluckshan-j](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@miluckshan-j](https://sef.discourse.group/u/miluckshan-j)\
**Post date:** [November 3, 2020, 5:50pm UTC](https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199/3 "2020-11-03T17:50:12Z")

</div>

If bored reading this thread, here’s a picture of a grumpy cat to cheer you up. 😂

 ![image](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/beb842666583919be9eee3ad610a7d8ef8361282.jpeg)

---

<div class="post-metadata">

**Author:** ![jaye](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/jaye/32/810_2.png) [@jaye](https://sef.discourse.group/u/jaye)\
**Post date:** [November 4, 2020, 5:02pm UTC](https://sef.discourse.group/t/implementing-the-manage-mentors-in-scholarx/199/4 "2020-11-04T17:02:41Z")

</div>

🤣🤣🤣 This is so funny @miluckshan-j!

Also, thanks for the update on your task!
