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

Show the restrictions on the confirmation #6

Open
esigler opened this issue Oct 27, 2015 · 0 comments
Open

Show the restrictions on the confirmation #6

esigler opened this issue Oct 27, 2015 · 0 comments

Comments

@esigler
Copy link
Contributor

esigler commented Oct 27, 2015

It'd be helpful to users if a confirmation would show the types of approvers allowed. In the current behavior:

This command requires confirmation. To confirm, send the command "confirm abc123"

it's less than clear if I can self-confirm, or how long I have to confirm, etc. One possible alternative would be:

defaults

This command requires confirmation. Approvers include: anyone.  To confirm, send the command "confirm abc123" within the next 60 seconds.

restrict_to: :managers

This command requires confirmation. Approvers include: users in the "managers" group.  To confirm, send the command "confirm abc123" within the next 60 seconds.

allow_self: false

This command requires confirmation. Approvers include: anyone other than yourself.  To confirm, send the command "confirm abc123" within the next 60 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants