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

Add Stack Account Self-Service Features #135

Open
bootsie123 opened this issue Sep 5, 2024 · 1 comment · May be fixed by #150
Open

Add Stack Account Self-Service Features #135

bootsie123 opened this issue Sep 5, 2024 · 1 comment · May be fixed by #150
Assignees
Labels
enhancement New feature or request

Comments

@bootsie123
Copy link
Collaborator

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:

  • Create an OpenStack account following the [email protected] --> xya1234 (OpenStack Username) format based on the user's email address with a randomly generated password set
  • Create an OpenStack project with the same name as the OpenStack username
  • Set the created project quota to the default found here
  • Add the user to the project using the member role
  • Send the user their account password through a Discord DM

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.

@bootsie123 bootsie123 added the enhancement New feature or request label Sep 5, 2024
@c0untingNumbers c0untingNumbers self-assigned this Sep 26, 2024
@c0untingNumbers
Copy link
Contributor

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.

@c0untingNumbers c0untingNumbers linked a pull request Nov 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants