Diff

mod_client_management/mod_client_management.lua @ 5582:825c6fb76c48

Multiple modules: Update for split prosody:user role (prosody 082c7d856e61)
author Matthew Wild <mwild1@gmail.com>
date Thu, 29 Jun 2023 15:58:33 +0100
parent 5516:f25df3af02c1
child 5599:b43ff0302204
line wrap: on
line diff
--- a/mod_client_management/mod_client_management.lua	Wed Jun 28 21:47:22 2023 +0200
+++ b/mod_client_management/mod_client_management.lua	Thu Jun 29 15:58:33 2023 +0100
@@ -10,8 +10,8 @@
 
 local strict = module:get_option_boolean("enforce_client_ids", false);
 
-module:default_permission("prosody:user", ":list-clients");
-module:default_permission("prosody:user", ":manage-clients");
+module:default_permission("prosody:registered", ":list-clients");
+module:default_permission("prosody:registered", ":manage-clients");
 
 local tokenauth = module:depends("tokenauth");
 local mod_fast = module:depends("sasl2_fast");