probo icon indicating copy to clipboard operation
probo copied to clipboard

Draft creation blocked after user re-add

Open SachaProbo opened this issue 1 year ago • 1 comments

When a user is removed from an organization, the corresponding record in the people table has its user_id cleared. If we re-add the user, the user_id is not repopulated in the related person record, which prevents the creation and publication of drafts (since the published_by field relies on the person linked to the session user).

SachaProbo avatar Sep 16 '25 10:09 SachaProbo

Fixed in https://github.com/getprobo/probo/commit/533822b60d0d1b16e065d911feaa253427e00665

SachaProbo avatar Sep 23 '25 12:09 SachaProbo