bitraf / p2k16

Bitraf's self-server system for doors, memberships and tools.
https://bitraf.no
MIT License
10 stars 12 forks source link

Implement retention time for door logins #113

Open jonnor opened 3 years ago

jonnor commented 3 years ago

When door is unlocked we store the door login action. Right now (I believe) this is stored essentially forever. This should be removed after a certain time, for example 30 days.

It could be useful for statistical reasons to preserve how many logins happened per week/month (anonymized/aggregated).

rkarlsba commented 3 years ago

Jeg trur norsk lov sier at det skal slettes etter 90 dager. Datatilsynet vil nok være behjelpelig hvis det er noen som lurer.