Skip to content

[Inline parity 4/6] Add accessible people and channel creation - #4

Closed
salmonumbrella wants to merge 9 commits into
inline-chat:mainfrom
salmonumbrella:feat/inline-parity-directory
Closed

salmonumbrella wants to merge 9 commits into
inline-chat:mainfrom
salmonumbrella:feat/inline-parity-directory

Conversation

@salmonumbrella

@salmonumbrella salmonumbrella commented Nov 8, 2026 •

Copy link
Copy Markdown

What changed

  • Resolve exact user IDs and canonical usernames from a bounded, login-scoped accessible directory.
  • Expose bounded search without treating every cached user as accessible.
  • Validate private/public channel requests and preserve current source permission errors.
  • Present created ordinary channels with partial membership, never infer a group DM from participant count.

Why

An arbitrary cached user ID is not proof of accessible membership or permission. Discovery and creation need source-backed facts for the current login.

Usage

Use accessible IDs or canonical usernames for lookup. thread and private_thread create ordinary private channels; public_thread requires an accessible workspace parent and no explicit participants. True group DMs, global email/phone lookup and complete global contact lists remain unsupported. Hidden/deleted conversations alone do not supply a directory entry; independent workspace or live participant evidence still can. Missing IDs in a truncated refresh report an incomplete result.

Stacks on #3 (which stacks on PR2 and client PR159).

Refs #1.

@salmonumbrella
salmonumbrella force-pushed the feat/inline-parity-directory branch from 0c75959 to 868b9e7 Compare November 8, 2026 12:47
@morajabi morajabi closed this Nov 14, 2026
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.

2 participants