Skip to content

Derive access from status - #706

Closed
yasithdev wants to merge 1 commit into
masterfrom
core-deactivate-accounts
Closed

yasithdev wants to merge 1 commit into
masterfrom
core-deactivate-accounts

Conversation

@yasithdev

@yasithdev yasithdev commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor
  • Access derives from user status.
  • Admins set allocation status.
  • Active allocations, active memberships and provisioned accounts can't be deleted.
  • Members are deactivated, not removed.
  • Member counts show active members only.
  • The provisioned account wins a merge.
  • AMIE reprocesses replies held on the survivor's accounts.
  • SUSPENDED folds into INACTIVE.
  • Storage docs cover deletes.

One-time migration:

UPDATE users SET status = 'INACTIVE' WHERE status = 'SUSPENDED';
ALTER TABLE users ADD CONSTRAINT chk_users_status CHECK (status IN ('PENDING', 'ACTIVE', 'INACTIVE', 'MERGED'));

@yasithdev
yasithdev added this pull request to stack #713 November 5, 2026 18:44
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 6a00828 to b679303 Compare November 5, 2026 23:09
@yasithdev
yasithdev force-pushed the replay-connector-state branch from b37d331 to 82926e3 Compare November 5, 2026 23:09
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from b679303 to 4983e71 Compare November 5, 2026 23:13
@lahirujayathilake
lahirujayathilake force-pushed the core-deactivate-accounts branch 2 times, most recently from e03c7f9 to 6c7b33f Compare November 5, 2026 23:41
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 6c7b33f to 66935ac Compare November 6, 2026 01:13
@yasithdev
yasithdev removed this pull request from stack #713 November 6, 2026 01:15
@yasithdev
yasithdev changed the base branch from replay-connector-state to core-connector-events November 6, 2026 01:15
@yasithdev
yasithdev added this pull request to stack #718 November 6, 2026 01:15
@yasithdev
yasithdev removed this pull request from stack #718 November 6, 2026 07:20
@yasithdev
yasithdev force-pushed the core-connector-events branch from 29be95d to dae1e30 Compare November 6, 2026 07:21
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 66935ac to 1d01631 Compare November 6, 2026 07:21
@yasithdev
yasithdev added this pull request to stack #724 November 6, 2026 07:22
@yasithdev
yasithdev force-pushed the core-connector-events branch from dae1e30 to beff878 Compare November 6, 2026 07:31
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 1d01631 to eea879e Compare November 6, 2026 07:32
@yasithdev
yasithdev force-pushed the core-connector-events branch from beff878 to 1e747eb Compare November 6, 2026 14:48
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from eea879e to 033a3b6 Compare November 6, 2026 14:48
@yasithdev
yasithdev removed this pull request from stack #724 November 6, 2026 14:48
@yasithdev
yasithdev changed the base branch from core-connector-events to web-deactivate-members November 6, 2026 14:48
@yasithdev
yasithdev added this pull request to stack #726 November 6, 2026 14:48
@yasithdev
yasithdev force-pushed the web-deactivate-members branch from 0341652 to 15c9787 Compare November 11, 2026 16:28
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 033a3b6 to 3ccce83 Compare November 11, 2026 16:28
@yasithdev
yasithdev force-pushed the web-deactivate-members branch from 15c9787 to 8e75270 Compare November 13, 2026 02:22
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 3ccce83 to 798fcd6 Compare November 13, 2026 02:22
@yasithdev
yasithdev force-pushed the web-deactivate-members branch from 8e75270 to a2798c9 Compare November 14, 2026 04:21
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch 3 times, most recently from 706f7c0 to 384f93c Compare November 15, 2026 15:14
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 384f93c to 02a145e Compare November 15, 2026 18:55
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch 2 times, most recently from c44ad27 to 5e45ef5 Compare November 15, 2026 22:31
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 5e45ef5 to dc108ba Compare November 15, 2026 23:03
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from dc108ba to bb2e163 Compare November 15, 2026 23:51
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from bb2e163 to 508d5b0 Compare November 16, 2026 00:29
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch 2 times, most recently from 5f74b3d to e29559e Compare November 16, 2026 01:06
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from e29559e to aec1082 Compare November 16, 2026 05:59
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from aec1082 to 8f8e1f2 Compare November 16, 2026 15:28
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 8f8e1f2 to 63bf10a Compare November 16, 2026 22:15
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 63bf10a to 4b4e1bc Compare November 17, 2026 00:39
@yasithdev
yasithdev force-pushed the core-deactivate-accounts branch from 4b4e1bc to ed27068 Compare November 17, 2026 14:58
@yasithdev

Copy link
Copy Markdown
Contributor Author

Superseded by #761.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant