[Feature]: Admin - Delete Users #301

Closed
opened 2026-02-04 19:30:49 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @puregreen59 on GitHub (Sep 15, 2022).

Feature Details:

  • In user management on the web interface, add option to delete user

Platform

Server & Web

Originally created by @puregreen59 on GitHub (Sep 15, 2022). ### Feature Details: - [ ] In user management on the web interface, add option to delete user ### Platform Server & Web
Author
Owner

@NeleB54Gold commented on GitHub (Sep 24, 2022):

Hi, I'm new to this immich app, it's the perfect app, or almost...
Did you find any way to delete the user from the postgresql database on docker?

@NeleB54Gold commented on GitHub (Sep 24, 2022): Hi, I'm new to this immich app, it's the perfect app, or almost... Did you find any way to delete the user from the postgresql database on docker?
Author
Owner

@PrivateGER commented on GitHub (Oct 5, 2022):

I'll do this one. :)

@PrivateGER commented on GitHub (Oct 5, 2022): I'll do this one. :)
Author
Owner

@zkhan93 commented on GitHub (Nov 2, 2022):

Is this stuck for some reason ?

@zkhan93 commented on GitHub (Nov 2, 2022): Is this stuck for some reason ?
Author
Owner

@alextran1502 commented on GitHub (Nov 3, 2022):

@zkhan93 PR #788 is opened, and I put in a few comments. I haven't seen any movement from @PrivateGER since

@alextran1502 commented on GitHub (Nov 3, 2022): @zkhan93 PR #788 is opened, and I put in a few comments. I haven't seen any movement from @PrivateGER since
Author
Owner

@zkhan93 commented on GitHub (Nov 3, 2022):

@alextran1502 I saw your comment and I agree with the soft delete approach.
how should I proceed, raise a new PR or continue on the existing one ?
Not sure how I can continue on the same PR, perhaps some git magic commands.

@zkhan93 commented on GitHub (Nov 3, 2022): @alextran1502 I saw your comment and I agree with the soft delete approach. how should I proceed, raise a new PR or continue on the existing one ? Not sure how I can continue on the same PR, perhaps some git magic commands.
Author
Owner

@alextran1502 commented on GitHub (Nov 3, 2022):

@alextran1502 I saw your comment and I agree with the soft delete approach.

how should I proceed, raise a new PR or continue on the existing one ?

Not sure how I can continue on the same PR, perhaps some git magic commands.

@zkhan93 please create a new PR, it will be easier on your side

@alextran1502 commented on GitHub (Nov 3, 2022): > @alextran1502 I saw your comment and I agree with the soft delete approach. > > how should I proceed, raise a new PR or continue on the existing one ? > > Not sure how I can continue on the same PR, perhaps some git magic commands. @zkhan93 please create a new PR, it will be easier on your side
Author
Owner

@PrivateGER commented on GitHub (Nov 3, 2022):

Hey, sorry, stuff got a bit busy, and I had to focus on another project for the time being.
I could help @zkhan93 out along the way, but won't be leading this PR.

@PrivateGER commented on GitHub (Nov 3, 2022): Hey, sorry, stuff got a bit busy, and I had to focus on another project for the time being. I could help @zkhan93 out along the way, but won't be leading this PR.
Author
Owner

@alextran1502 commented on GitHub (Nov 3, 2022):

@PrivateGER no worries, completely understand! @zkhan93 can help!

@alextran1502 commented on GitHub (Nov 3, 2022): @PrivateGER no worries, completely understand! @zkhan93 can help!
Author
Owner

@zkhan93 commented on GitHub (Nov 6, 2022):

@alextran1502 what is the command to generate new migrations ?
been struggling for a while to get the command.
I see typeorm command is defined in package.json,
so I figured the command is something like this
npm run typeorm migration:generate and datasource option is -d ./libs/database/src/config/database.config.ts but not sure about other parameters.

@zkhan93 commented on GitHub (Nov 6, 2022): @alextran1502 what is the command to generate new migrations ? been struggling for a while to get the command. I see `typeorm` command is defined in package.json, so I figured the command is something like this `npm run typeorm migration:generate` and datasource option is `-d ./libs/database/src/config/database.config.ts` but not sure about other parameters.
Author
Owner

@alextran1502 commented on GitHub (Nov 6, 2022):

@zkhan93
Here is the guide from another unmerge PR

How to run database migration

  1. Attached to the container shell
  2. Run npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts
  3. Check if the migration file makes sense
  4. Move the migration file to folder server/libs/database/src/migrations in your code editor.
@alextran1502 commented on GitHub (Nov 6, 2022): @zkhan93 Here is the guide from another unmerge PR ## How to run database migration 1. Attached to the container shell 2. Run `npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts` 3. Check if the migration file makes sense 4. Move the migration file to folder `server/libs/database/src/migrations` in your code editor.
Author
Owner

@zkhan93 commented on GitHub (Nov 6, 2022):

nice! BTW this should go in contributors guide

@zkhan93 commented on GitHub (Nov 6, 2022): nice! BTW this should go in contributors guide
Author
Owner

@alextran1502 commented on GitHub (Nov 6, 2022):

nice! BTW this should go in contributors guide

Agree forgot to put it in T_T

@alextran1502 commented on GitHub (Nov 6, 2022): > nice! BTW this should go in contributors guide Agree forgot to put it in T_T
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#301