File

spec/scansion/disco_self.scs @ 13684:026a75a443de 13.0

mod_admin_shell: Hide secondary role commands, focus on primary roles Secondary roles are an advanced feature without any strong use cases currently. Having multiple ways to manage roles is confusing. Now the 'user:role' command will just show the primary role if that is all there is, but will list secondary roles too if there are any (which in 99.9% of cases there won't be).
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 Feb 2025 16:18:59 +0000
parent 13408:d7857ef7843a
line wrap: on
line source

# Basic login and initial presence

[Client] Romeo
	jid: discoverer@localhost
	password: password

---------

Romeo connects

Romeo sends:
	<iq type="get" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info"/>
	</iq>

Romeo receives:
	<iq type="result" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
			<identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
			<feature var="http://jabber.org/protocol/disco#info"/>
			<feature var="http://jabber.org/protocol/disco#items"/>
		</query>
	</iq>

Romeo disconnects