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

Configuration to ask confirmation for automatic reactions #725

Open
vincent-zurczak opened this issue Nov 29, 2016 · 2 comments
Open

Configuration to ask confirmation for automatic reactions #725

vincent-zurczak opened this issue Nov 29, 2016 · 2 comments

Comments

@vincent-zurczak
Copy link
Member

We need to go farther in automation.
Currently, we can execute a command...

  • ... explicitely (through the web administration).
  • ... on schedule.
  • ... automatically, when some conditions are met (agents).

We should add a command to ask a confirmation before running the rest of a Roboconf script. Let's consider the following scenario with the autonomic enabled.

  1. action.commands is executed when conditions A and B are met.
  2. However, users do not trust the autonomic enough to let Roboconf handle everything automatically.

Instead, they would like to be notified (by e-mail), and be invited to accept or refuse the execution of the automated script. Basically, the e-mail should contain a link that leads to the DM. The shown page will display a message and expect a decision: proceeed or dismiss.

The command shape should be located at the beginning of the script.
It should appear only once in a commands file. Here is a sample syntax.

ask confirmation to <emails> with validity <time unit> and message <message>
  • The validity indicates how much time the link is valid.
  • The message is the one that will be shown to the user.

The DM must guarantee a link can be clicked and executed only once.
If the validity period is over, an error should be shown.

@vincent-zurczak
Copy link
Member Author

Another solution would be to make it a general preference.

@vincent-zurczak
Copy link
Member Author

A general preference is better, as commands are part of the deliverables and that validating an automatic action is a user choice.

@vincent-zurczak vincent-zurczak changed the title Create a new command: ask confirmation Configuration to ask confirmation for automatic reactions Jul 11, 2017
@vincent-zurczak vincent-zurczak added this to the 0.9 milestone Jul 11, 2017
@vincent-zurczak vincent-zurczak removed this from the 0.9 milestone Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant