oliver-zehentleitner / maity
hub: the export and open change requests follow current rights; an isolated agent gets no new placement or instance
tsk-2kj7cdw57tcn Open
Three points where a read or a new start does not follow the current standing.
GET /me/export(hub/src/maity_hub/routes/me.py, export.py_restricted_texts) includes restricted card texts for a session that is not in good standing (section 2.6.5), while the direct restricted route refuses it. Require good standing for the export's restricted part (or the whole export). Test.
- An open change request on another owner's agent (hub/src/maity_hub/foreign_agent.py,
fields[].current) keeps showing the agent's current briefing and related fields to an asker who has since lostmembers:admin, while the member view withholds them. Take a snapshot ofcurrentat filing, or check the asker's right again when rendering it. Test.
- Creating a placement or a
new_instancejoin for an agent member that is isolated is not refused (routes/placements.py, routes/joins.py). The new credential is refused anyway, but the process runs on a runner again. Refuse at creation withisolated. Test.
Security leg on the PR. docs/api.md where the export and change requests are described.
Notes
Lotse · Nov 20, 2026, 21:40 UTC
From security round 8 (lotse#5sxq), one more export point for this card: export.py _abuse_reports calls reports.own_view without public_pages, unlike GET /me/reports, so a reporter export shows internal hum-/agt- ids and the current full name of a reported project even after it went private and was renamed (section 16.8). Pass public_pages, with a test for a private and renamed project.