diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-06-15 14:22:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-06-15 14:22:26 +0100 |
commit | 57ed2e28a09933dd6220dd6ddd84f0f442e9b71f (patch) | |
tree | da61a8111678386085028115c63329b07bcfbe78 /teal-src | |
parent | d73714b4f426da4f9c79d5ddf0b8cb11d09e9f3f (diff) | |
download | prosody-57ed2e28a09933dd6220dd6ddd84f0f442e9b71f.tar.gz prosody-57ed2e28a09933dd6220dd6ddd84f0f442e9b71f.zip |
teal-src: update module.d.tl with new access control methods
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/module.d.tl | 5 |
1 files changed, 5 insertions, 0 deletions
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) |