title: disco#items is returning error code 403
body: <p>I am trying to get list of all the users registered on the server. My server is Ejabberd. When I use service discovery on <code>all users</code> node, I get 403 error. Here's my request stanza and error stanza - </p>
  
  <p><strong>Request</strong></p>
  
  <pre><code>&lt;iq id="U7" type="get" to="server.lt" xmlns="jabber:client"&gt;
    &lt;query node="all user" xmlns="http://jabber.org/protocol/disco#items" /&gt;
  &lt;/iq&gt;
  </code></pre>
  
  <p><strong>Response</strong></p>
  
  <pre><code>&lt;iq from="server.lt" to="user@server.lt/res" id="U8" type="error" xmlns="jabber:client"&gt;
    &lt;query xmlns="http://jabber.org/protocol/disco#items" node="all users" /&gt;
    &lt;error code="403" type="auth"&gt;
      &lt;forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /&gt;
    &lt;/error&gt;
  &lt;/iq&gt;
  </code></pre>
  
  <p>When I checked on server, I didn't find any mod_disco there, so I added new mod_disco module. Do I need to do further modification on server or is there any problem in my request stanza?</p>
  
  <p><strong>Update:</strong><br>
  I tried by giving my user admin access and the command did work, but it's not practical to give each user an admin access. Is there any way I can do it using client or the server without using admin access for user?</p>