Remove admin access in the Admin Dashboard 👥
Closed this issue · 6 comments
ramiAbdou commented
Description
See #247 for project overview. Note that this is dependent on #249 being implemented first.
Acceptance Criteria
This issue should:
- Add a dropdown to the table in the
/admins
page, which has the option to remove access from the Admin Dashboard. - Clicking the dropdown option should open a confirmation modal (ie:
/admins/remove
). In that modal, clicking a "Remove" button should officially remove access from the Admin Dashboard and they should no longer appear in the Admins table. Note that it shouldn't delete the record entirely, but it should set thedeletedAt
timestamp, effectively archiving the admin).
Additional Context
- You can add the backend functionality (ie:
removeAdmin
) in thecore
package. There is already an admin module in thecore
package, you'll just need to add the function to theuse-cases
folder in that module.
BeteabTefera commented
@ramiAbdou Discussed with @reaganrazon and she will take the lead and i will pair program with her to see how she implement (learning from her)it please assign to her, thank you :)
ramiAbdou commented
@reaganrazon can you comment on this ticket so I can assign you?
reaganrazon commented
Yes!
tomas-salgado commented
Hey @reaganrazon! Are you still working on this issue? No worries if not, just lmk so I can open it up for someone else!
tomas-salgado commented
@wflore19 could you comment on this issue so that I can assign it to you?
wflore19 commented
I'll work on this✋