chiark / gitweb /
disobedience: grey out user management if it won't work.
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 14 Aug 2011 17:08:06 +0000 (18:08 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 14 Aug 2011 17:08:06 +0000 (18:08 +0100)
commit73acd48dc1be038e32b5287feee488c8af2fd4c5
tree9175c839f49a9f3ab805127d96efe64544de2a47
parenta808e4a7e2f7b724c9c72be66ba9395587e4fd28
disobedience: grey out user management if it won't work.

This already worked for users without the 'admin' right but failed on
remote connections if the server had remote_userman set to 'no' (which
is the default).  The result was pretty ugly, the user management
window opened but would repeatedly cause protocol error popups.

The implementation depends on the server change in
b60ceb3caecce2c86c484e6173fb1428b71d456a.

It will still go wrong if remote_userman is changed during the
server's lifetime, presumably a fairly rare event.
disobedience/menu.c