-
Notifications
You must be signed in to change notification settings - Fork 171
Description
I just noticed that the ACL check bases it's decision on the senders handle field.
The Slack backend sets this value with the name field it gets from the Slack API.
On free Slack account the name field is set to my displayname, but on my work account the name field is set to my actual first name. (Possibly this is something the admins optionally enabled? I will try to find out more during the week.) Some testing with the API testing tool reveals that every user in my org has the name field set to their first name lowercased.
So anyone named "rob" is going to be able to run the bot commands restricted to me. I don't know what else it might break but a naive fix would be to update the backend to use the displayname field. If you think that is okay I will submit a PR.