You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clear invitations a user created when revoking #354
Revoking a user's roles on a service only cleans the invitations that the user accepted. The invitations the user created stay: those created through a group that is still owner, or as an admin, stay valid, and the others show open until they expire although accepting them returns 404. So a removed user's open links can keep working, and their identifier and the times stay stored and listed for up to expiry_days + keep_expired_days days.
Decided by the maintainer: revoking a user's role also clears the invitations that user created.
DELETE /services/{serviceId}/permissions/users/{userId} deletes the invitations on that service that the user created and nobody accepted. Accepted ones hold another user's acceptance and stay until they expire.
Only after the revocation succeeded: 409 for the last owner and 404 for a user without a role clear nothing.
Tests and docs. The docs also mention the creator identifiers and times that invitations keep (createdBy, createdAs, createdAt), in docs/access-control.md and docs/upgrading.md (pre-release review, finding L4).
Activity