1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00

Clarifying user rights. #173

This commit is contained in:
Patrik J. Braun 2020-09-06 10:32:35 +02:00
parent 0d2b59a412
commit a7f5d6fb5b

View File

@ -1,8 +1,13 @@
# Pigallery2 user rights
| id | Role | rights | who has it | The following users are supported in the app with these rights:
|----|---------------|----------------------|------------|
| 1 | Limited Guest | listing directory | using shared link | | id | Role | rights | who has it |
| 2 | Guest | + search | no one (you can set manually in the db, if necessary) | |----|---------------|-----------------------------------------|------------|
| 3 | User | + share | default role | | 1 | Limited Guest | listing directory | using shared link |
| 4 | Admin | + settings | default (pregenerated) user (also the default right if authentication is off) | | 2 | Guest | + search | no one (you can set manually in the db, if necessary) |
| 5 | Developer | + see errors | 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.