android: add channel role-based send permissions
Some checks failed
CI / test (push) Failing after 2m18s
Some checks failed
CI / test (push) Failing after 2m18s
This commit is contained in:
@@ -124,3 +124,9 @@
|
||||
- Synced and persisted message attachments during message refresh/pagination and after media send.
|
||||
- Extended message domain model with attachment list payload.
|
||||
- Added message attachment rendering in Chat UI: inline image preview, minimal image viewer overlay, and basic audio play/pause control.
|
||||
|
||||
### Step 20 - Sprint P0 / 3) Roles/permissions baseline
|
||||
- Extended chat data/domain models with `my_role` and added `observeChatById` stream in Room/repository.
|
||||
- Added `ObserveChatUseCase` to expose per-chat permission state to message screen.
|
||||
- Implemented channel send restrictions in `ChatViewModel`: sending/attach disabled for `member` role in `channel` chats.
|
||||
- Added composer-level restriction hint in Chat UI to explain blocked actions.
|
||||
|
||||
Reference in New Issue
Block a user