# HG changeset patch # User Matthew Wild # Date 1655299346 -3600 # Node ID 9fa749cbd376b65a3c2faf282618e19c231ed9ec # Parent 9061f96213300290762d1fd27b06562a4f1709f1 teal-src: update module.d.tl with new access control methods diff -r 9061f9621330 -r 9fa749cbd376 teal-src/module.d.tl --- a/teal-src/module.d.tl Wed Jun 15 12:15:01 2022 +0100 +++ b/teal-src/module.d.tl Wed Jun 15 14:22:26 2022 +0100 @@ -126,6 +126,11 @@ 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)