conveyal / analyst-server

DEPRECATED; see https://github.com/conveyal/analysis-ui
MIT License
37 stars 6 forks source link

Quota decrement for deleted query can be assigned to wrong group #170

Closed mattwigway closed 9 years ago

mattwigway commented 9 years ago

This is not currently a problem, but could be when we start sharing projects more broadly.

When one deletes a query that is in progress, we refund the unused portion of the query to their account. If a query is deleted by a user in different group from the user that created the query, the refund could accrue to the wrong account. The only way this could happen is if a query was shared between two organizations.

mattwigway commented 9 years ago

Fixed.