Closed eleanorreem closed 3 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)
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!
@haydnba you are assigned!
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:
PartnerAdminGuard
checks the partnerAdmin
property of the authorised user held in stateI think it is simple to remedy on Bloom Backend:
active
at src/partner-admin/partner-admin.interface.ts
active
property on the appended partnerAdmin
at src/utils/serialize.ts
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
@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!
@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
Oh brilliant! Ahead of the game
https://github.com/chaynHQ/bloom-backend/issues/444 can you comment on this ticket so I can assign you 😄
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