Hi,
I'm trying to set up a torrent service for my whole LAN network. The idea is to let the user upload torrent files to the server (just putting the torrent file in a shared folder) and use the web-ui to let them see the status of all torrents.
As for now the web-ui only has one user, I would like to specify the user that the web-ui uses to connect to the daemon. If I use a read only account (int auth file: web:web:1) the web-ui should be able to list the current torrents but should't be able to change any of the configurations nor to delete or add any torrent.
I've tried that adding this to the web.conf file:
"default_daemon": "web:web@localhost:58846"
forcing the web-ui to use that account. But that's not working. I'm still able to add new torrents, etc...
Also, I can't connect to the daemon using the gtk gui with that account.
Any idea of what should I do next? or it it is even possible to be done?
An other issue I'm dealing with is that I can only connect to the web-ui using firefox. If I use chrome, chromium or safari it keeps asking for the password (which is still "deluge")
Any suggestion?
Btw, I'm using deluge 1.3.3 form the debian testing repository.
Fox
Read only web-ui
Re: Read only web-ui
I'm afraid multi-user support and auth levels are only available in our development repo (git master).
default_daemon is only for a host name.focs wrote:"default_daemon": "web:web@localhost:58846"
Constantly asking for password is a time/timezone issue between browser and server with the cookie expiring immediately.focs wrote: If I use chrome, chromium or safari it keeps asking for the password (which is still "deluge")
Re: Read only web-ui
Hi thanks, when are you planing to merge it? is it usable?
If I use it, how can I tell web-ui which user to use?
If I use it, how can I tell web-ui which user to use?
Re: Read only web-ui
There is no time-frame currently. It is fairly usable but there are obviously bugs in places.
There are several ways but i think the simplest would be to change the auth file localclient to be your read-only user and add an admin account for yourself.
There are several ways but i think the simplest would be to change the auth file localclient to be your read-only user and add an admin account for yourself.
Re: Read only web-ui
Hi Cas, thank you for your time.
I've tried that, and the web-ui doesn't connect. As I said I tried to connect with the gtk-ui to a read only account (user:pass:1) and it desn't even see the running daemon. I guess same thing happens with the web-ui.
Thank you again.
I've tried that, and the web-ui doesn't connect. As I said I tried to connect with the gtk-ui to a read only account (user:pass:1) and it desn't even see the running daemon. I guess same thing happens with the web-ui.
Thank you again.
Re: Read only web-ui
Ah it seems that a read-only user has not been implemented yet.