GetStream / stream-chat-android

:speech_balloon: Android Chat SDK ➜ Stream Chat API. UI component libraries for chat apps. Kotlin & Jetpack Compose messaging SDK for Android chat
https://getstream.io/chat/sdk/android/
Other
1.47k stars 274 forks source link

Removed members can still post message #310

Closed Chikrix closed 4 years ago

Chikrix commented 4 years ago

When a member is successfully removed from a conversation while still in the message detail, that deleted member could still post message.

tschellenbach commented 4 years ago

there are 2 possible explanations for this:

  1. your app has permissions disabled (check the dashboard)
  2. you are using a channel type that allows non-members to post messages. for instance the livestream channel type allows this.

we have extensive test coverage at the API level that ensures that you need to be a member in order to post a message (for channels that have permissions configured like that).

Chikrix commented 4 years ago

So there's nowhere in my app where I'm currently setting any permissions or doing something to disable permissions. Also, I'm using a messaging channel type. Where would I look to check this?

tschellenbach commented 4 years ago

You can see the dashboard here: https://getstream.io/dashboard/

image

Chikrix commented 4 years ago

Got it. I was using the app which had permissions disabled. Thanks for this.

tschellenbach commented 4 years ago

No problem.

On Sun, Nov 17, 2019, 21:45 chikrix notifications@github.com wrote:

Got it. I was using the app which had permissions disabled. Thanks for this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GetStream/stream-chat-android/issues/310?email_source=notifications&email_token=AACAZQKMCAEJS7CVKOSE3F3QUIMVJA5CNFSM4JOGGIIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEJFENQ#issuecomment-554848822, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACAZQOEIWDCWNYAKU4NCKLQUIMVJANCNFSM4JOGGIIA .