CottageLabs / LanternPM

Lantern meta repository for product management
1 stars 0 forks source link

Record job type (wellcome/lantern) on submission and use this for completion email and results formatting #85

Closed emanuil-tolev closed 8 years ago

emanuil-tolev commented 8 years ago

When submitting from compliance.cottagelabs.com:

emanuil-tolev commented 8 years ago

Wellcome report a problem with the following timeline:

  1. no lantern account - can upload spreadsheets OK to compliance.cottagelabs.com
  2. lantern account created
  3. can no longer upload large sheets to either Wellcome or Lantern, with the following screenshot attached:

    image

    image

It appears a quota is still being applied.

emanuil-tolev commented 8 years ago

Unless we fix this first, we probably need to delete Wellcome's Lantern account before we ask them to check for any other issues, since now they can no longer upload their sheets using their usual account.

markmacgillivray commented 8 years ago

I have altered this and checked again. I can definitely now go to compliance UI and submit a job even if there is a lantern account with the same email address, and I get emails that link back to the expected job, and via the compliance UI.

If there is a lantern account with the same email address, the quota on that account WILL increment with jobs submitted to the compliance UI, but if jobs are submitted via the compliance UI it accepts them even if the matching account is over the max allowed for that account. But if you tried the same account via the lantern UI, it will not accept jobs if the account is over quota.

So they should be able to submit as much as they want via compliance UI, but not on lantern.

emanuil-tolev commented 8 years ago

Cecy confirmed this works!