aula icon indicating copy to clipboard operation
aula copied to clipboard

deleted users are leaking.

Open fisx opened this issue 9 years ago • 1 comments

We should mark all occurrances of User where we expect a non-deleted user, and find a way to enforce isActiveUser in those places on the type level somehow. I'm just fixing Persistent.Pure.votingPower, Persistent.Pure.findDelegationsByScope, but I'm sure I'm missing other places.

fisx avatar Jul 06 '16 05:07 fisx

Related type: https://github.com/liqd/aula/blob/91f658f9f210695f7071c6cd3c2027eae5dd9858/src/Types/Core.hs#L188

andorp avatar Jul 06 '16 14:07 andorp