02-03-2020, 07:01 PM | #1 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite 3 (Manga)
|
Restrict user to virtual library?
Looking for a little help.
I have set up a user using [icode]calibre-server --manage-users[/icode] and specified a virtual library. When I try to login with this user I get the error [icode]The user iamagloworm is not allowed to access any libraries on this server[/icode] What am I doing wrong? Is there another method to restrict user according to tags? Code:
$ calibre-server --manage-users 1) Add a new user 2) Edit an existing user 3) Remove a user 4) Cancel What do you want to do? [1-4]: 2 Existing user names: iamagloworm Enter the username: iamagloworm iamagloworm has readonly access 1) Show password for iamagloworm 2) Change password for iamagloworm 3) Change read/write permission for iamagloworm 4) Change the libraries iamagloworm is allowed to access 5) Cancel What do you want to do? [1-5]: 4 iamagloworm is currently only allowed to access the libraries named: conservation, parenting, pregnancy iamagloworm has no additional per-library restrictions 1) Allow access to all libraries 2) Allow access to only specified libraries 3) Allow access to all, except specified libraries 4) Change per-library restrictions 5) Cancel What do you want to do? [1-5]: 2 Enter a comma separated list of library names: conservation Allowing access only to libraries: conservation iamagloworm has readonly access 1) Show password for iamagloworm 2) Change password for iamagloworm 3) Change read/write permission for iamagloworm 4) Change the libraries iamagloworm is allowed to access 5) Cancel What do you want to do? [1-5]: 5 1) Add a new user 2) Edit an existing user 3) Remove a user 4) Cancel What do you want to do? [1-4]: 4 |
02-03-2020, 09:06 PM | #2 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
do the library names you have allowed actually match the libraries you are serving? Andif you want to restrict the user using virtual libraries you need the per library restrictions setting.
|
02-03-2020, 09:40 PM | #3 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite 3 (Manga)
|
thanks for the pointer. after somer further searching I found that I needed to specify per library restriction in this format [code]vl:conservation[/icode]
what I have not been able to figure out is how to specify more than one virtual library. per library restriction of [code]vl:conservation OR vl:restoration[/icode] does not seem to work. can you give me another pointer on multiple virtual libraries as user restrictions? thanks |
02-03-2020, 09:55 PM | #4 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
create a virtual library that ors all the search terms from the vls you want to use and use that as your restriction.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Virtual Library Help | Chrystalline | Library Management | 4 | 09-26-2017 11:11 PM |
Returning to Full Library from Virtual Library | The Texas Dude | Library Management | 11 | 02-19-2017 08:32 PM |
Glo Restrict search to Library | jbaumann | Kobo Reader | 3 | 08-24-2015 03:19 PM |
User Categories in Virtual Libraries | Tanjamuse | Library Management | 12 | 04-06-2015 10:20 AM |
Virtual Library still show up in main library | bskies | Library Management | 3 | 11-13-2013 10:41 PM |