diff --git a/src/mod_configure.erl b/src/mod_configure.erl index d5b9f0296..aacbe3e0f 100644 --- a/src/mod_configure.erl +++ b/src/mod_configure.erl @@ -243,7 +243,23 @@ get_local_features(Acc, From, To, Node, _Lang) -> ?INFO_RESULT(Allow, [?NS_ADHOC_s]); ["config", _] -> ?INFO_RESULT(Allow, [?NS_ADHOC_s]); - ["http:" | _] -> + ?NS_ADMINL("add-user") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("delete-user") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("end-user-session") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("get-user-password") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("change-user-password") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("get-user-lastlogin") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("user-stats") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("get-registered-users-num") -> + ?INFO_RESULT(Allow, [?NS_ADHOC_s]); + ?NS_ADMINL("get-online-users-num") -> ?INFO_RESULT(Allow, [?NS_ADHOC_s]); _ -> Acc @@ -461,7 +477,23 @@ get_local_items(Acc, From, To, Node, Lang) -> ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); ["config", _] -> ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); - ?NS_ADMINL(_) -> + ?NS_ADMINL("add-user") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("delete-user") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("end-user-session") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("get-user-password") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("change-user-password") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("get-user-lastlogin") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("user-stats") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("get-registered-users-num") -> + ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); + ?NS_ADMINL("get-online-users-num") -> ?ITEMS_RESULT(Allow, LNode, {error, 'forbidden'}); _ -> Acc