diff --git a/bot_modules/languages.py b/bot_modules/languages.py index 0d57b88..250111f 100644 --- a/bot_modules/languages.py +++ b/bot_modules/languages.py @@ -52,7 +52,7 @@ init_bd_cmds = [f'''CREATE TABLE IF NOT EXISTS {table_name}( UNIQUE({key_name}), UNIQUE({name_field}) )''', -f"INSERT OR IGNORE INTO module_access (modName, modAccess, itemDefaultAccess) VALUES ('{module_name}', '{user_access.user_access_group_new}=va', '{user_access.user_access_group_new}=va');" +f"INSERT OR IGNORE INTO module_access (modName, modAccess, itemDefaultAccess) VALUES ('{module_name}', '{user_access.user_access_group_all}=-', '{user_access.user_access_group_all}=-');" ] # --------------------------------------------------------- diff --git a/bot_modules/messages.py b/bot_modules/messages.py index ca2d763..ccf9fad 100644 --- a/bot_modules/messages.py +++ b/bot_modules/messages.py @@ -58,7 +58,7 @@ init_bd_cmds = [f'''CREATE TABLE IF NOT EXISTS {table_name}( UNIQUE({key_name}), UNIQUE({name_field}, {parent_id_field}) )''', -f"INSERT OR IGNORE INTO module_access (modName, modAccess, itemDefaultAccess) VALUES ('{module_name}', '{user_access.user_access_group_new}=va', '{user_access.user_access_group_new}=va');" +f"INSERT OR IGNORE INTO module_access (modName, modAccess, itemDefaultAccess) VALUES ('{module_name}', '{user_access.user_access_group_all}=-', '{user_access.user_access_group_all}=-');" ] select_messages_prefix = ''