Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code for Kiosk mode #122

Closed
wants to merge 1 commit into from
Closed

Added code for Kiosk mode #122

wants to merge 1 commit into from

Conversation

eldios
Copy link
Contributor

@eldios eldios commented Dec 21, 2018

I'm here proposing a big feature, that I called "Kiosk mode", referring to regular self-service Kiosk you would find in stations and airports.

The use case is to use Hubot-pager-me in a way that is possible to "safely" hand it over to customers so that they can only see what they're allowed to (by the restrictions of Services and Schedules) and by only be able to "open incidents to the person on call" by disabling all the other commands (through the "help module" which already does that).

e.g:

>help
CustomerBot help - Displays all of the help commands that this bot knows about.
CustomerBot help <query> - Displays all help commands that match <query>.
CustomerBot open incident <schedule> <msg> - create a new incident with <msg> and contact the person on call for <schedule>
CustomerBot who's on call - return a list of services and who is on call for them
CustomerBot who's on call for <schedule> - return the username of who's on call for any schedule matching 

> who's on call
* "Emanuele Lele Calo" is on call for "Customer Support"

> open incident "Customer Support" everything is on fire, please send help ASAP!
Incident correctly opened! :pager: Now assigning the person OnCall ...
:pager: assigned to Emanuele Lele Calo!

Code as it is now is not working cause it needs another fix that I'm also sending in a different PR (in order to be able to mangle "incidents" in a API v2 compatible way).

Open to clarifications if needed.

@eldios
Copy link
Contributor Author

eldios commented Dec 21, 2018

needs #126

@stephenyeargin stephenyeargin deleted the branch hubot-archive:master December 17, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants