command: require appropriate permissions for searchadd{,pl}
This commit is contained in:
parent
ce108acebb
commit
c1f196dbec
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.17.1 (2012/??/??)
|
||||
* protocol:
|
||||
- require appropriate permissions for searchadd{,pl}
|
||||
|
||||
ver 0.17 (2012/06/27)
|
||||
* protocol:
|
||||
|
|
|
@ -2054,8 +2054,8 @@ static const struct command commands[] = {
|
|||
{ "rm", PERMISSION_CONTROL, 1, 1, handle_rm },
|
||||
{ "save", PERMISSION_CONTROL, 1, 1, handle_save },
|
||||
{ "search", PERMISSION_READ, 2, -1, handle_search },
|
||||
{ "searchadd", PERMISSION_READ, 2, -1, handle_searchadd },
|
||||
{ "searchaddpl", PERMISSION_READ, 3, -1, handle_searchaddpl },
|
||||
{ "searchadd", PERMISSION_ADD, 2, -1, handle_searchadd },
|
||||
{ "searchaddpl", PERMISSION_CONTROL, 3, -1, handle_searchaddpl },
|
||||
{ "seek", PERMISSION_CONTROL, 2, 2, handle_seek },
|
||||
{ "seekcur", PERMISSION_CONTROL, 1, 1, handle_seekcur },
|
||||
{ "seekid", PERMISSION_CONTROL, 2, 2, handle_seekid },
|
||||
|
|
Loading…
Reference in New Issue