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
12 stars 10 forks source link

Access object status does not change upon expiry #432

Open vildead opened 11 months ago

vildead commented 11 months ago

Active access object should change to terminated/suspended upon reaching the expiry date. But its not the case.

The access is not exposed to API thanks to https://github.com/elixir-luxembourg/daisy/blob/60339d6f7ec2516e9a59db7edbd1b3814dc45bce/core/models/access.py#L189C13-L189C13

but its still an issue.

vildead commented 11 months ago

related to https://github.com/elixir-luxembourg/daisy/pull/389

neoflex commented 11 months ago

add a remark, "automatically terminated" when status is changed by the scheduled task checking for expired accesses Also with less priority:

neoflex commented 11 months ago

when deploying the next version of daisy including this change, the settings_local.py file must be changed to trigger the schedulled task, see the template file as reference.

vildead commented 8 months ago