From e571a9c7404e2f3adae41cd4cbcc2cf9f45c7bdc Mon Sep 17 00:00:00 2001 From: Alexei Bezborodov Date: Tue, 14 Nov 2023 08:29:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D1=83=D0=BF=D0=B0=20=D0=BA=20=D0=BC=D0=BE=D0=B4=D1=83?= =?UTF-8?q?=D0=BB=D1=8E=20all=5Forders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot_modules/all_orders.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bot_modules/all_orders.py b/bot_modules/all_orders.py index efdbc2d..77d7fef 100644 --- a/bot_modules/all_orders.py +++ b/bot_modules/all_orders.py @@ -4,7 +4,7 @@ # Заказы from bot_sys import bot_bd, keyboard, user_access, bd_table -from bot_modules import mod_table_operate, mod_simple_message, orders +from bot_modules import mod_table_operate, mod_simple_message, orders, access_utils from template import bd_item_select, bd_item_view, bd_item # --------------------------------------------------------- @@ -113,7 +113,9 @@ class ModuleAllOrders(orders.ModuleOrders): def GetInitBDCommands(self): # уже сделано в ModuleUserOrders - return [] + return [ + access_utils.GetAccessForModuleRequest(self.GetName(), self.m_InitAccess, self.m_DefInitAccess), + ] def GetName(self): return module_name