command/all: "tagtypes" requires no permissions
The command is used to configure the client's connection, and this shouldn't require any permissions. The client should be able to do that before sending a password.
This commit is contained in:
parent
7aea285361
commit
24afdee35c
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.21.24 (not yet released)
|
||||
* protocol
|
||||
- "tagtypes" requires no permissions
|
||||
* fix unit test failure
|
||||
|
||||
ver 0.21.23 (2020/04/23)
|
||||
|
|
|
@ -193,7 +193,7 @@ static constexpr struct command commands[] = {
|
|||
{ "subscribe", PERMISSION_READ, 1, 1, handle_subscribe },
|
||||
{ "swap", PERMISSION_CONTROL, 2, 2, handle_swap },
|
||||
{ "swapid", PERMISSION_CONTROL, 2, 2, handle_swapid },
|
||||
{ "tagtypes", PERMISSION_READ, 0, -1, handle_tagtypes },
|
||||
{ "tagtypes", PERMISSION_NONE, 0, -1, handle_tagtypes },
|
||||
{ "toggleoutput", PERMISSION_ADMIN, 1, 1, handle_toggleoutput },
|
||||
#ifdef ENABLE_DATABASE
|
||||
{ "unmount", PERMISSION_ADMIN, 1, 1, handle_unmount },
|
||||
|
|
Loading…
Reference in New Issue