zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

Restrict sending messages to announcement streams

Open kaustubh-nair opened this issue 5 years ago • 22 comments

is_announcement_only flag is present in model.stream_data. The user should be notified ( in the footer ) if they don't have permissions to post to the stream.

kaustubh-nair avatar Jun 10 '20 14:06 kaustubh-nair

Current behaviour: Nothing happens when SEND_MESSAGE key is pressed.

preetmishra avatar Jun 10 '20 15:06 preetmishra

The key behavior is likely to make it that the user gets notified before writing a long message and then being unable to send it. So avoid even opening the compose box in these circumstances, though with a message for explanation.

neiljp avatar Jun 10 '20 16:06 neiljp

I am taking up this issue.

imnitishng avatar Jun 17 '20 04:06 imnitishng

This issue could be followed up with investigating any limitation on initiating private messages if they are disabled in organization settings https://www.zulipchat.com/help/restrict-private-messages We may want to confirm this feature is final first, however.

neiljp avatar Jun 17 '20 21:06 neiljp

@zulipbot claim

vinitwadgaonkar avatar Dec 14 '20 19:12 vinitwadgaonkar

I resumed working on this but I see that this is already fixed by https://github.com/zulip/zulip-terminal/pull/714 @neiljp Can we close this?

imnitishng avatar Dec 18 '20 04:12 imnitishng

@imnitishng The motivation for this issue is to provide a warning before the message is sent (which is what #714 will do), so that a user doesn't write a long message only for it to fail to send as they cannot post there, as I described here: https://github.com/zulip/zulip-terminal/issues/682#issuecomment-642129332

neiljp avatar Jan 17 '21 06:01 neiljp

Okay I get it. Essentially we have to avoid opening the compose box in the streams where users aren't allowed to post. I will start the work and send a PR ASAP.

imnitishng avatar Jan 17 '21 06:01 imnitishng

@imnitishng has this issue been resolved or is it fine if I take it up?

mounilKshah avatar Jan 10 '22 14:01 mounilKshah

@zulipbot claim

mounilKshah avatar Jan 11 '22 08:01 mounilKshah

Hello @mounilKshah, it looks like you've currently claimed 1 issue in this repository. We encourage new contributors to focus their efforts on at most 1 issue at a time, so please complete your work on your other claimed issues before trying to claim this issue again.

We look forward to your valuable contributions!

zulipbot avatar Jan 11 '22 08:01 zulipbot

As my PR #1146 has been approved, the issue which was earlier assigned to me #1095 is fixed. Hence, I am beginning work on this issue. I hope that's fine.

mounilKshah avatar Jan 11 '22 16:01 mounilKshah

@zulipbot claim

mounilKshah avatar Jan 20 '22 15:01 mounilKshah

Hello @mounilKshah, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Feb 06 '22 19:02 zulipbot

@zulipbot claim

mounilKshah avatar Feb 16 '22 03:02 mounilKshah

Hello @mounilKshah, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Feb 26 '22 07:02 zulipbot

Hi @neiljp Can i work on this issue? Please assign it to me.

SRV332003 avatar Dec 14 '22 09:12 SRV332003

Is anyone working on this issue? TIA!

Chan-Dong-Jun avatar Feb 03 '24 10:02 Chan-Dong-Jun

@zulipbot claim

Chan-Dong-Jun avatar Feb 03 '24 11:02 Chan-Dong-Jun

@Chan-Dong-Jun This issue cannot be claimed, as someone else is already working on it. Please see our contributor guide for advice on finding an issue to work on. Thanks!

zulipbot avatar Feb 03 '24 11:02 zulipbot

@Chan-Dong-Jun I have removed myself as the assignee for this issue. You or anyone else is free to work on this

mounilKshah avatar Feb 17 '24 04:02 mounilKshah