From a7f5d6fb5bfa6b7eb144f0c9575ea91aa7317dbe Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 6 Sep 2020 10:32:35 +0200 Subject: [PATCH] Clarifying user rights. #173 --- USERRIGHTS.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/USERRIGHTS.md b/USERRIGHTS.md index 2c514160..89db39ca 100644 --- a/USERRIGHTS.md +++ b/USERRIGHTS.md @@ -1,8 +1,13 @@ +# Pigallery2 user rights -| id | Role | rights | who has it | -|----|---------------|----------------------|------------| -| 1 | Limited Guest | listing directory | using shared link | -| 2 | Guest | + search | no one (you can set manually in the db, if necessary) | -| 3 | User | + share | default role | -| 4 | Admin | + settings | default (pregenerated) user (also the default right if authentication is off) | -| 5 | Developer | + see errors | no one (you can set manually in the db, if necessary) | +The following users are supported in the app with these rights: + +| id | Role | rights | who has it | +|----|---------------|-----------------------------------------|------------| +| 1 | Limited Guest | listing directory | using shared link | +| 2 | Guest | + search | no one (you can set manually in the db, if necessary) | +| 3 | User | + share, list faces, create random link | default role | +| 4 | Admin | + settings, see duplicate photos | default (pregenerated) user (also the default right if authentication is off) | +| 5 | Developer | + see errors | no one (you can set manually in the db, if necessary) | + +**Note:** If you would like to set a user rights and does not work with the role name (string) use its id.