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

Request administrator password reset #1116

Open
eMtlk opened this issue Sep 26, 2021 · 6 comments
Open

Request administrator password reset #1116

eMtlk opened this issue Sep 26, 2021 · 6 comments

Comments

@eMtlk
Copy link

eMtlk commented Sep 26, 2021

Is your feature request related to a problem? Please describe.
At the moment, administrators cannot reset their password in case they forgotten it. The only possibility is that the superadmin or another administrator will reset their password for them. It should be possible to add this feature in the admin-ui or at least in the API.

Describe the solution you'd like
Implement admin-api mutation to reset an administrator password similar to the requestPasswordReset in shop-api.

@buisine
Copy link

buisine commented May 28, 2024

UP

1 similar comment
@Kyvix
Copy link

Kyvix commented May 28, 2024

UP

@michaelbromley
Copy link
Member

If anyone wants to help on this, let's start with some planning:

  1. What new mutations are needed?
    • I'm guessing similar to those in the Shop API, namely requestPasswordReset & resetPassword, but in the Admin API
  2. What new UI elements are needed?
    • The Admin ui login screen would need a "forgotten password" link
    • This goes to a new page which allows you to enter the admin's email address

Anything else?

Anyone interested in implementing this?

@buisine
Copy link

buisine commented May 29, 2024

maybe on 2, need to add :

new page allowing to set the new pass (link from email)

@buisine
Copy link

buisine commented May 29, 2024

For the api part, it could be implemented there i think :

  • packages/core/src/api/resolvers/admin/administrator.resolver.ts
  • packages/core/src/service/services/administrator.service.ts
  • packages/core/src/api/schema/admin-api/administrator.api.graphql

For the UI/Angular stuff i have no idea

@dlhck
Copy link
Collaborator

dlhck commented Sep 24, 2024

Could be done together with #2903

@dlhck dlhck moved this to 👀 Under consideration in Vendure OS Roadmap Sep 24, 2024
@martijnvdbrug martijnvdbrug added the P4: low Non-critical, workarounds exist label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 Under consideration
Development

No branches or pull requests

6 participants