flottbot icon indicating copy to clipboard operation
flottbot copied to clipboard

Bot replying to users who live in a given group under ignore_usergroups

Open jakereps opened this issue 4 years ago • 3 comments

Report

What did you do?

Added an ignore_userlist to our rules.

What did you expect to happen?

flottbot to not reply to users in the userlist, as "users that are part of any of these groups won't trigger this rule"

What happened instead?

flottbot replies to users in the userlist.

Screenshots

Internal Slack, N/A (imagine photo of bot replying to user that lives in a usergroup that is listed in the rules YAML file under ignore_usergroups)

Your Environment

Please complete the following information):

  • Flottbot version: target/flottbot:0.5.0
  • OS: unknown, internally hosted "serverless" platform
  • OS version: n/a
  • Bot YAML (see below)
  • Rule YAML (see below) if applicable
# please paste .bot.yml here (remove any sensitive information!)
...
ignore_threads: true
ignore_usergroups:
  - ourgroupname
...

Additional context

N/A

jakereps avatar Aug 18 '20 15:08 jakereps

thanks for the report. can you list the permission scopes you had enabled at the time?

wass3r avatar Aug 20 '20 04:08 wass3r

I'll have to reach out to my coworker - sorry on the long delay.

jakereps avatar Sep 02 '20 01:09 jakereps

On the application page it shows:

OurBotName can:
- View information about the user’s identity, granted by 1 team member
- Add the ability for people to direct message or mention @ourbotname, granted by 1 team member

jakereps avatar Sep 02 '20 21:09 jakereps