From 34ada96a5c62a4dfea95f932f7f915b772c503ce Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 28 Dec 2022 15:42:38 -0500 Subject: [PATCH] Improved typing for tool shed structured app. --- lib/tool_shed/structured_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tool_shed/structured_app.py b/lib/tool_shed/structured_app.py index ce18216daed5..deb0b0ece6be 100644 --- a/lib/tool_shed/structured_app.py +++ b/lib/tool_shed/structured_app.py @@ -7,6 +7,7 @@ from tool_shed.repository_types.registry import Registry as RepositoryTypesRegistry from tool_shed.util.hgweb_config import HgWebConfigManager from tool_shed.webapp.model import mapping + from tool_shed.webapp.security import CommunityRBACAgent class ToolShedApp(BasicSharedApp): @@ -14,3 +15,4 @@ class ToolShedApp(BasicSharedApp): model: "mapping.ToolShedModelMapping" repository_registry: "RepositoryRegistry" hgweb_config_manager: "HgWebConfigManager" + security_agent: "CommunityRBACAgent"