Closed vspiewak closed 8 years ago
I'm not opposed :) eager to hear what others have to say though, as I'm not using this script right now
I can look into this when I get home.
Does something like this work for you @vspiewak?
# Usage
HUBOT_AUTH_ROLES="(role)=(user_id)"
# Example
HUBOT_AUTH_ROLES="admin=U12345678 mod=U87654321,U67856745"
This cool be great 👍 Using immutable infrastructure intensively, I noticed this problem on any hubot-script requiring some initial chat as setup. It include for instance hubot-standup-alarm
Maybe we should look at events ?
I don't see any mechanism to pre-configure some roles automatically (with an environment variable for instance). I can install hubot-auth, setup some roles persisted in Redis Brain using hubot commands.
But, if my redis or hubot crash, I have to setup roles again.
What do you think ?
Best Regards