elixir-luxembourg / daisy

Data Information System (DAISY) is a data bookkeeping application designed to help Biomedical Research institutions with their GDPR compliance.
GNU Affero General Public License v3.0
13 stars 10 forks source link

Draft: Fix access validation #389

Closed vildead closed 11 months ago

vildead commented 1 year ago

The line https://github.com/elixir-luxembourg/daisy/blob/60339d6f7ec2516e9a59db7edbd1b3814dc45bce/core/models/access.py#L193 would fail with error (cannot compare date and datetime)

Once resolved internally, the validation condition could have less or equal operator

vildead commented 11 months ago

This was solved in 1.7.12

The scheduler is responsible for changing the status of access upon expiry.