Software /
code /
prosody
Diff
teal-src/module.d.tl @ 12674:72f431b4dc2c
Merge role-auth->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Aug 2022 13:53:35 +0100 |
parent | 12643:9fa749cbd376 |
child | 12979:fbbf4f0db8f0 |
line wrap: on
line diff
--- a/teal-src/module.d.tl Fri Aug 19 14:24:31 2022 +0200 +++ b/teal-src/module.d.tl Mon Aug 22 13:53:35 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)