Define delegation and acting-in-place lifecycle rules #3

Open
opened 2026-07-10 11:01:18 +02:00 by zemion · 1 comment
Owner

Turn the delegation and acting-in-place concept into enforceable module behavior.

Acceptance criteria:

  • Function delegation, substitution, and acting-in-place modes are documented with examples.
  • Validation covers who may delegate, when delegation expires, and how revocation is audited.
  • Access receives enough context to distinguish own function, delegated function, and acting-for-someone function.
  • Tests cover active, expired, revoked, and unauthorized delegation states.
Turn the delegation and acting-in-place concept into enforceable module behavior. Acceptance criteria: - Function delegation, substitution, and acting-in-place modes are documented with examples. - Validation covers who may delegate, when delegation expires, and how revocation is audited. - Access receives enough context to distinguish own function, delegated function, and acting-for-someone function. - Tests cover active, expired, revoked, and unauthorized delegation states.
Author
Owner

Codex State: progress

Summary

  • Organizations stores function-level delegable and acting-in-place flags; IDM assignment writes validate delegated and acting-for source semantics.
  • Access explanation/principal contracts carry function assignment, delegation, and acting-for provenance fields.

Verification

  • unittest tests.test_idm_api: delegated assignment validation covered

Next / Blocked

  • Still open: explicit runtime acting-in-place selector, expired/revoked/unauthorized lifecycle tests, and final audit/revocation behavior.

Suggested status label: status/in-progress

## Codex State: progress ### Summary - Organizations stores function-level delegable and acting-in-place flags; IDM assignment writes validate delegated and acting-for source semantics. - Access explanation/principal contracts carry function assignment, delegation, and acting-for provenance fields. ### Verification - `unittest tests.test_idm_api: delegated assignment validation covered` ### Next / Blocked - Still open: explicit runtime acting-in-place selector, expired/revoked/unauthorized lifecycle tests, and final audit/revocation behavior. Suggested status label: `status/in-progress`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-organizations#3
No description provided.