Work on legal bases
- In db1b1629 we started to always check
deceased
andblocked
along with the consent- With this MR I started to call this "effective consent".
- I fixed some places where we actually want to check whether consent was given, irrespective of whether it is effective or not.
- We validate that
to_be_deleted
cannot be set when there is recruitment consent.- I added the reverse check
- I also added
to_be_deleted
to thehas_consent
filter query, just in case
- I redesigned the legal bases UI