Repository navigation
Closed
Labels
priority: highHigh prioritytype: bugSomething isn't workingworkload: hoursLikely takes hours to resolve
Description
The round-2 pre-release review of FOCA 0.17.0 and foca-common 0.2.0 (d843c63..6d2989c) found the following items to fix before the release.
Access control
- M1:
_remove_policiesfails open. AnyPyMongoError, also one raised while removing stored configured rules, is only logged, and the revoked rules stay in effect. Tolerate only connection failures from the existence check; if configured rules exist, let errors from the removal propagate, so startup fails, as it does whenpoliciesis set. - With access control and no
policies, startup blocks for about 30 s when MongoDB is unreachable (default server selection timeout). Use a short timeout for the existence check. - GET returns 404 for a configured rule of an inactive generation, while DELETE returns 409. Return 404 unless the rule is configured in the active generation.
- L2: stale docstring in
foca/models/config.py("If not set, stored rules are not changed on startup").
Documentation
- L3: apps on a shared external MongoDB must set their own
db_name, since the default policy collection is shared (migration guide and access control docs). - Migration guide: 0.1.0 values render MongoDB unchanged except for the keep annotation on the claim.
- README quick start: named
specs:entries. - Contributing guide: use "Re-run failed jobs" for releases, never "Re-run all jobs", since the artifacts are not reproducible; fix the "reproduced from their tag" wording in
requirements/release.txt.
Packaging
- Docker image:
org.opencontainers.image.versionandrevisionlabels, set by the workflows. - One ELIXIR On-Cloud URL everywhere (https://elixir-on.cloud/), also in
pyproject.toml. - Remove unreferenced old images from
images/.
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritytype: bugSomething isn't workingworkload: hoursLikely takes hours to resolve
Activity
fix(access-control): require MongoDB without policies
fix(access-control): log failed policy removal
test: tighten the policy check timeout bound