microsoft / AzureBot

This is the source code which runs the Microsoft AzureBot.
http://aka.ms/AzureBot
MIT License
170 stars 106 forks source link

Does not feed back accurately when user lacks permission to perform an action #143

Open jlucktay opened 7 years ago

jlucktay commented 7 years ago

We are using AzureBot with our internal Slack instance.

I have some users who only have permissions to start VMs, but not shutdown/stop/restart them.

When one of these users asks the bot to stop a VM, the bot responds as though they do have permission, e.g. "Stopping the 'BlahBlah' virtual machine..."

The user may be waiting for the stop action to go through, but it never will.

Can some extra feedback please be added so that this case is made more clear to the user?

dtzar commented 7 years ago

We haven't accounted for this scenario, makes sense. Right now AzureBot is still a best-effort "sample" and we have no dedicated developers, so PRs welcome.