chaynHQ / bloom-frontend

Code for the for the frontend of the Bloom service.
https://bloom.chayn.co/
MIT License
28 stars 46 forks source link

Ensure PartnerAdminAuthguard is checking whether the admin is still active #917

Closed eleanorreem closed 3 months ago

eleanorreem commented 5 months ago

Overview

We have recently created a new column for partner-admins. These partner-admins can now be set as "inactive". We need to check in our Auth guards that the partner admin is active.

Action Items

Resources/Instructions

haydnba commented 4 months ago

I would be interested in taking this one on @eleanorreem @kyleecodes (would be very happy to manage the new dependably dependencies upgrades to familiarise myself beforehand)

github-actions[bot] commented 4 months ago

Thank you for your interest in contributing to Chayn! Please carefully read the CONTRIBUTING.md file and the README.md file for guidance. Let us know if you have any questions. Good luck!

kyleecodes commented 4 months ago

@haydnba you are assigned!

haydnba commented 4 months ago

Hello @eleanorreem @kyleecodes

I have implemented this ticket and opened a PR (currently in draft). As it stands this will break in production because the data that is required to make this check is not yet being provided by the backend... In particular:

I think it is simple to remedy on Bloom Backend:

Definitely likely I am missing something completely obvious but if not then I'd be very happy to create an issue and open the PR on Bloom Backend

eleanorreem commented 4 months ago

@haydnba yes you are right ! Thanks for flagging. An oversight on my part. I had thought it was already being returned. I can create a ticket on in the backend and hopefully it will be picked up soon!

haydnba commented 4 months ago

@eleanorreem thats great, thanks! If you're ok with it I've done the work locally to get it working so feel free to adding me on the issue and I'll open a pr

eleanorreem commented 4 months ago

Oh brilliant! Ahead of the game

eleanorreem commented 4 months ago

https://github.com/chaynHQ/bloom-backend/issues/444 can you comment on this ticket so I can assign you 😄