From 50b854fd34f39c2a7f26669cadc40e138d084bed Mon Sep 17 00:00:00 2001 From: foglar Date: Sat, 14 Sep 2024 21:11:26 +0200 Subject: [PATCH] photoprism update --- Server/PhotoPrism/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Server/PhotoPrism/README.md b/Server/PhotoPrism/README.md index 3bb50a3..692ff2b 100644 --- a/Server/PhotoPrism/README.md +++ b/Server/PhotoPrism/README.md @@ -5,6 +5,29 @@ PhotoPrism is a self-hosted photo management platform designed to organize, brow > [!IMPORTANT] > If using docker all commands should be prefixed like this `docker compose exec photoprism *photoprism passwd foglar*` -## Administration - User management +## Administration - Change user password `photoprism passwd [username]` +- Create new user `photoprism users add -p [password] -n "[name]" [login]` + +### User management + +| CLI Command | Description | +| ----------------------------------------- | -------------------------------------------- | +| photoprism users ls [search] | Searches existing user accounts | +| photoprism users legacy [search] | Searches legacy user accounts | +| photoprism users add [options] [username] | Adds a new user account | +| photoprism users show [username] | Displays user account information | +| photoprism users mod [options] [username] | Modifies an existing user account | +| photoprism users rm [username] | Removes a user account | +| photoprism users reset --yes | Removes all accounts and resets the database | + +### Session management + +| CLI Command | Description | +| --------------------------------- | -------------------------------------------------------- | +| photoprism auth ls [search] | Lists currently authenticated users and clients | +| photoprism auth add [username] | Adds a new authentication secret for client applications | +| photoprism auth show [identifier] | Shows detailed information about a session | +| photoprism auth rm [identifier] | Deletes a session by id or access token | +| photoprism auth reset --yes | Resets the authentication of all users and clients |