From 57ed2e28a09933dd6220dd6ddd84f0f442e9b71f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 15 Jun 2022 14:22:26 +0100 Subject: teal-src: update module.d.tl with new access control methods --- teal-src/module.d.tl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'teal-src') diff --git a/teal-src/module.d.tl b/teal-src/module.d.tl index cb7771e2..24eb9558 100644 --- a/teal-src/module.d.tl +++ b/teal-src/module.d.tl @@ -126,6 +126,11 @@ global record moduleapi path : string resource_path : string + -- access control + may : function (moduleapi, string, table|string) + default_permission : function (string, string) + default_permissions : function (string, { string }) + -- methods the module can add load : function () add_host : function (moduleapi) -- cgit v1.2.3