homebrewery
homebrewery copied to clipboard
Add User auth token to getBrew
This PR resolves #2954.
This PR adds the ability to pass an authentication token to the getBrew
function, defaulting to the defaultAuth
(Service Account) when no auth token is provided. This functionality is then used by deleteBrew
, so any brew that can be seen by the user (and thus appear on their User Page) can be deleted.
It looks like these changes have caused quite a lot of tests to break. I'll try to look into it in the next few days.
@G-Ambatte I think this one is really close but for the two open comments I have up there, and the breaking tests. Do you have any insight on those?