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