From 837852114f92d0f3acb94b5e0807dee265bf40e5 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 22 Sep 2019 12:36:30 +0200 Subject: [PATCH] Updating the license system --- src/PermissionManager.cpp | 11 +++++++++++ src/Properties.cpp | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/PermissionManager.cpp b/src/PermissionManager.cpp index a83037c..0e9c483 100644 --- a/src/PermissionManager.cpp +++ b/src/PermissionManager.cpp @@ -603,6 +603,17 @@ i_group_modify_power, i_playlist_song_add_power, i_playlist_song_remove_power, i_playlist_song_move_power, + + b_client_query_create, + b_client_query_list, + b_client_query_list_own, + b_client_query_rename, + b_client_query_rename_own, + b_client_query_change_password, + b_client_query_change_own_password, + b_client_query_change_password_global, + b_client_query_delete, + b_client_query_delete_own, }; std::deque permission::availableGroups = { diff --git a/src/Properties.cpp b/src/Properties.cpp index a1f789e..dc0d539 100644 --- a/src/Properties.cpp +++ b/src/Properties.cpp @@ -227,8 +227,8 @@ namespace ts { make_shared(VIRTUALSERVER_WEB_PORT, "VIRTUALSERVER_WEB_PORT", "0", TYPE_UNSIGNED_NUMBER, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) make_shared(VIRTUALSERVER_WEB_HOST, "VIRTUALSERVER_WEB_HOST", "0.0.0.0", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) - make_shared(VIRTUALSERVER_DEFAULT_CLIENT_DESCRIPTION, "VIRTUALSERVER_DEFAULT_CLIENT_DESCRIPTION", "I don't have a description", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) - make_shared(VIRTUALSERVER_DEFAULT_CHANNEL_DESCRIPTION, "VIRTUALSERVER_DEFAULT_CHANNEL_DESCRIPTION", "I don't have a description", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) + make_shared(VIRTUALSERVER_DEFAULT_CLIENT_DESCRIPTION, "VIRTUALSERVER_DEFAULT_CLIENT_DESCRIPTION", "", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) + make_shared(VIRTUALSERVER_DEFAULT_CHANNEL_DESCRIPTION, "VIRTUALSERVER_DEFAULT_CHANNEL_DESCRIPTION", "", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) make_shared(VIRTUALSERVER_DEFAULT_CHANNEL_TOPIC, "VIRTUALSERVER_DEFAULT_CHANNEL_TOPIC", "", TYPE_STRING, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables) make_shared(VIRTUALSERVER_MUSIC_BOT_LIMIT, "VIRTUALSERVER_MUSIC_BOT_LIMIT", "-1", TYPE_SIGNED_NUMBER, FLAG_SERVER_VARIABLE | FLAG_NEW | FLAG_SS | FLAG_USER_EDITABLE), //only available on request (=> requestServerVariables)