okfde / okfde/froide

Question about request_public_after_due_days in public_date not used

Open
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
411
Forks
100
Avg merge
6d 12h
Merged PRs (30d)
8

Description

I was under the impression that setting the configuration variable 'request_public_after_due_days' would trigger a visibility change in the FoiRequest model. I don't see a Celery task nor a signal that would handle this case (and it doesn't seem that the function public_date is referenced anywhere).

Is there an implementation that has a background task / signal that would automatically search all FoiRequests that aren't visible to the public, look at its public date, then switch it to publicly visible or was this overlooked / taken out?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the FoiRequest model and the public_date function, then search for request_public_after_due_days, Celery tasks, and signals. Determine whether any existing entry point updates visibility and document the expected behavior or missing implementation; there is no named test in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.