ChatGPT-in-Slack icon indicating copy to clipboard operation
ChatGPT-in-Slack copied to clipboard

[Feature Request] Ability to restrict bot usage to specific channels or users

Open PeterDaveHello opened this issue 2 years ago • 2 comments

Unrestricted access to a bot in large Slack workspaces can lead to cost issues. To mitigate this, an access control feature would be beneficial.

This feature would allow us to specify which channels or users are allowed to use the bot, providing a way to manage usage and control costs effectively.

PeterDaveHello avatar Apr 17 '23 14:04 PeterDaveHello

Thanks for the suggestion. Indeed, the feature addition may be valuable in some situations. However, I won't use my time for the enhancement in the short term. Therefore, if you need it right now, please consider forking this project or make a pull request for it.

As I mentioned at https://github.com/seratch/ChatGPT-in-Slack/issues/26#issuecomment-1498247464, I'm down to avoid adding further inputs in the configuration modal. In other words, I am reluctant to add the feature to main_prod.py. Happy with having some env variables to customize main.py for the use case described here.

seratch avatar Apr 18 '23 01:04 seratch

@seratch I hope you won't mind that I try to use GitHub's Copilot Workspace to create #94 and can take a look at it 😄

PeterDaveHello avatar Jul 05 '24 12:07 PeterDaveHello