AllCommands: "findadd" requires the "add" permission
This commit is contained in:
parent
6526de024a
commit
d34ae0850c
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.18.9 (not yet released)
|
ver 0.18.9 (not yet released)
|
||||||
|
* protocol
|
||||||
|
- "findadd" requires the "add" permission
|
||||||
* decoder
|
* decoder
|
||||||
- vorbis: fix linker failure when libvorbis/libogg are static
|
- vorbis: fix linker failure when libvorbis/libogg are static
|
||||||
* encoder
|
* encoder
|
||||||
|
|
|
@ -90,7 +90,7 @@ static const struct command commands[] = {
|
||||||
{ "disableoutput", PERMISSION_ADMIN, 1, 1, handle_disableoutput },
|
{ "disableoutput", PERMISSION_ADMIN, 1, 1, handle_disableoutput },
|
||||||
{ "enableoutput", PERMISSION_ADMIN, 1, 1, handle_enableoutput },
|
{ "enableoutput", PERMISSION_ADMIN, 1, 1, handle_enableoutput },
|
||||||
{ "find", PERMISSION_READ, 2, -1, handle_find },
|
{ "find", PERMISSION_READ, 2, -1, handle_find },
|
||||||
{ "findadd", PERMISSION_READ, 2, -1, handle_findadd},
|
{ "findadd", PERMISSION_ADD, 2, -1, handle_findadd},
|
||||||
{ "idle", PERMISSION_READ, 0, -1, handle_idle },
|
{ "idle", PERMISSION_READ, 0, -1, handle_idle },
|
||||||
{ "kill", PERMISSION_ADMIN, -1, -1, handle_kill },
|
{ "kill", PERMISSION_ADMIN, -1, -1, handle_kill },
|
||||||
{ "list", PERMISSION_READ, 1, -1, handle_list },
|
{ "list", PERMISSION_READ, 1, -1, handle_list },
|
||||||
|
|
Loading…
Reference in New Issue