Commit graph

4 commits

Author SHA1 Message Date
Torkel Niklasson
f20c6e4eb8 client, permission-manager: add getters for runtime introspection
Add wp_client_get_permission_manager() and
wp_permission_manager_get_default_permissions() and expose both as Lua
methods. This allows Lua scripts to verify a client's trust level at
runtime by inspecting the actual permission bits of its attached PM.
2026-05-11 18:59:48 +00:00
Torkel Niklasson
6c74f4b77f docs: document Client and PermissionManager Lua API 2026-05-11 18:59:48 +00:00
Robert Rosengren
ec8975ac6a docs: clarified how to setup debug logs in lua 2024-09-05 10:52:28 +00:00
George Kiagiadakis
f3f89b8fc1 docs: shuffle files to have the same logical hierarchy as on the generated doc
Also:
 - rename some files to remove redundant information from the filenames
 - rename many labels to match the filename and its place in the hierarchy
 - move lua_api under the scripting section
2023-12-23 12:36:27 +02:00