stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

Removed members can still post message

Open Chikrix opened this issue 7 years ago • 5 comments

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

Chikrix avatar Nov 16 '19 17:11 Chikrix

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).

tschellenbach avatar Nov 18 '19 02:11 tschellenbach

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?

Chikrix avatar Nov 18 '19 04:11 Chikrix

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

image

tschellenbach avatar Nov 18 '19 04:11 tschellenbach

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

Chikrix avatar Nov 18 '19 04:11 Chikrix

No problem.

On Sun, Nov 17, 2019, 21:45 chikrix [email protected] 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 .

tschellenbach avatar Nov 18 '19 05:11 tschellenbach