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

Bot user creation and management view #7125

Open
Rmafive opened this Issue May 30, 2017 · 12 comments

Comments

@Rmafive

Rmafive commented May 30, 2017

Is it possible to add a new bot without assigning an email? For example, if I wanted a bot named JIRA, that bot doesn't have an associated email, but I can't create the bot user without one.

Rocket.Chat Version: 0.56.0
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: 4.8.1

@geekgonecrazy

This comment has been minimized.

Member

geekgonecrazy commented May 31, 2017

Currently bot users are the exact same as full fledged users. Currently new users require email address.

Personally... I usually add my bot users making use of Gmail +addresses.

Youremail+bot@gmail.com

@Rmafive

This comment has been minimized.

Rmafive commented May 31, 2017

Thanks for the update! The Gmail + addresses does seem like a good solution for now to avoid a bunch of random email addresses for the bots.

@geekgonecrazy

This comment has been minimized.

Member

geekgonecrazy commented Jun 1, 2017

👍 I have 2-3 this way 😁

@soundstorm

This comment has been minimized.

Contributor

soundstorm commented Aug 28, 2017

I assigned a web hook to trigger on dms to the bot. You need to login first to stop mailing every dm, which is kind of annoying. A bot shouldn't have a mail and password, could also lead to security issues when using a password like "1234" (I know you shouldn't do this anyway, but as you need to enter anything and think "it's just a bot" you may enter an insecure combination).

@geekgonecrazy geekgonecrazy removed their assignment Sep 2, 2017

@anouarIT

This comment has been minimized.

anouarIT commented Dec 27, 2017

Hello!
@geekgonecrazy with this method the bot is still offline! are there any other solutions?

@geekgonecrazy

This comment has been minimized.

Member

geekgonecrazy commented Jan 3, 2018

if bot user is offline, then bot has not successfully connected. Check username/password and connection strings. Also this is off topic so try our community #hubot channel

@seanpackham

This comment has been minimized.

Contributor

seanpackham commented Mar 12, 2018

As mentioned by geekgonecrazy, bots are full users and need an email address. We won't be changing this in the short term.

@timkinnane

This comment has been minimized.

Member

timkinnane commented Mar 14, 2018

I don't think this should be closed. Bots should not need an email, emailing them is just generating spam notifications for their creators. There are some related discussions about how to create and manage bots and normal users separately, because bots don't need email validation or prompts to reset their password either. So it's not a default conclusion that bot fields are and always will be the same as normal users. I will manage this and think we should aim to resolve it but close #7785. Also related #3818.

@timkinnane timkinnane reopened this Mar 14, 2018

@timkinnane timkinnane self-assigned this Mar 14, 2018

@timkinnane

This comment has been minimized.

@timkinnane timkinnane added this to Backlog in Bots Roadmap via automation Mar 20, 2018

@timkinnane timkinnane removed the feat: hubot label Mar 20, 2018

@timkinnane

This comment has been minimized.

Member

timkinnane commented Mar 20, 2018

Have put this on the Bots Project roadmap to evolve it. This isn't so much a new feature as a range of enhancements to both the user creation logic and the admin UX. It will also hopefully be progressed by the Rocket.Chat apps project and GSOC proposals. Once we have a unified vision for how to handle bot account creation we can create distinct feature issues.

@timkinnane timkinnane changed the title from Add user without email (for new bot) to Improve account creation process for bots Mar 20, 2018

@timkinnane timkinnane changed the title from Improve account creation process for bots to Bot user creation and management view Apr 16, 2018

@timkinnane

This comment has been minimized.

Member

timkinnane commented Apr 16, 2018

Drafting a spec for this feature on the bots roadmap (below).

What is this?

A new admin view for creating bot users, allowing simpler provisioning. Would also list existing bot users, with some indication of their status. Could possibly add the ability to shutdown/restart bots and in future be more intelligently integrated with their platform / hosting.

Why do it?

Bot user accounts within Rocket.Chat have different requirements to normal users. They don’t need email addresses, verification or self-assigned password resets. The flow for admins managing installations with multiple bots is quite unintuitive and could be much improved by this feature.


This is a feature request stub, details and requirements will be planned when it’s added to the roadmap. Please discuss if you have particular requirements in mind or a contribution to make.

@timkinnane timkinnane moved this from Backlog to To do in Bots Roadmap Apr 16, 2018

@mikaelmello

This comment has been minimized.

Contributor

mikaelmello commented Jun 22, 2018

Related: #10832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment