ritsec / ops-bot-iii

OBIII: Open Source Discord Bot, created by RITSEC
Apache License 2.0
5 stars 3 forks source link

Add Stack Account Self-Service Features #135

Open bootsie123 opened 3 weeks ago

bootsie123 commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Right now when a member needs to either create an OpenStack account or get their password reset, they need to open up a ticket. While this usually isn't an issue, there are times during the beginning of each semester where we have an influx of these requests and it can overload the ops team. This feature aims to automate this process by letting OBIII do the work.

Describe the solution you'd like

This feature would enable OpenStack self-service for members. This would be through /openstack commands such as /openstack create and /openstack reset.

For /openstack create, any user who is a verified member and doesn't already have a stack account would be able to have one automatically provisioned. This would include the following:

For /openstack reset, any user who is a verified member and has a stack account would be able to get their password reset to a randomly generated password. This password would then be sent to them through a Discord DM.

Additional context Password reset as part of the self-service would be great but it's not essential. For right now, account creation is the big one.

c0untingNumbers commented 3 days ago

Some users don't allow DMs so I will have to have a function that checks if their DMs are open first before doing any of this step.