=== Test case: graphql_inbox_SUITE:domain_admin_flush_global_bin_no_permission/1 (click for source code)

=== Config value:

    [{protocol,http},
     {domain_admin,{<<"admin@domain.example.com">>,<<"61e04a6d748b1cb1">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.17803.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.graphql_inbox_SUITE.logs/run.2023-11-17_15.13.16/graphql_inbox_suite.domain_admin_flush_global_bin_no_permission.36482.html"},
     {tc_group_properties,[{name,domain_admin_inbox}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.graphql_inbox_SUITE.logs/run.2023-11-17_15.13.16/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:13:22


*** CT 2023-11-17 15:13:22.219 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1507.html

*** User 2023-11-17 15:13:22.230 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.230 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a06a2bb85b895e25' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.230 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.230 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzgyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:13:22.231 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:13:22.231 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.231 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3fd6469cbae907e3' from='domain.example.com' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com'>

*** User 2023-11-17 15:13:22.232 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.232 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='582042c170086038f8b28a3f53cd53ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.232 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq id='582042c170086038f8b28a3f53cd53ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.232 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='02586d187be9461c26d8eb878ef806de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.232 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='02586d187be9461c26d8eb878ef806de' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.232 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:13:22.233 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1'/>



*** User 2023-11-17 15:13:22.234 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<stream:stream to='domain.example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.234 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c669d46c48d7ed88' from='domain.example.org' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.234 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.234 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzgyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<stream:stream to='domain.example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2eb252abc0208764' from='domain.example.org' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org'>

*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='8e6f3aca6a3d30e6568254449a01ff12'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.235 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq id='8e6f3aca6a3d30e6568254449a01ff12' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.235 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='f35e0500a55740d2afba653db13a2236'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.236 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='f35e0500a55740d2afba653db13a2236' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.236 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<presence/>



*** User 2023-11-17 15:13:22.237 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1'/>



*** User 2023-11-17 15:13:22.237 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.237 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62717b2accf2337b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.237 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.238 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZG9tYWluX2FkbWluX2ZsdXNoX2dsb2JhbF9iaW5fbm9fcGVybWlzc2lvbl83ODIAbWFrcm93ZTtw</auth>



*** User 2023-11-17 15:13:22.238 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51bc4fecd6a9cfb8' from='domain.example.com' version='1.0' xml:lang='en' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com'>

*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='ec445b215d245b2a2f8ed7f78abbd430'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq id='ec445b215d245b2a2f8ed7f78abbd430' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='a4aefbcd69e5ad5d7547dec778906903'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='a4aefbcd69e5ad5d7547dec778906903' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:13:22.239 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:13:22.240 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<presence from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1'/>



*** User 2023-11-17 15:13:22.247 ***🔗
REST request fails:
Code: 401
Req: {<0.17885.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ce49b9e7578f40c3">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOjYxZTA0YTZkNzQ4YjFjYjE=">>}],
      <<"{\"variables\":{\"hostType\":\"nonexistent host type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>}
Result: {{<<"401">>,<<"Unauthorized">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:13:21 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"167">>}],
         <<"{\"errors\":[{\"extensions\":{\"code\":\"no_permissions\"},\"path\":[\"ROOT\",\"inbox\",\"flushGlobalBin\"],\"message\":\"Cannot execute query ROOT without a global admin permissions\"}]}">>,
         316,5944}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"61e04a6d748b1cb1">>},
          body =>
              <<"{\"variables\":{\"hostType\":\"nonexistent host type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          return_maps => true,
          role => {graphql,domain_admin},
          return_headers => true}


*** User 2023-11-17 15:13:22.247 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='9eb5200b244b1d91d9d5309822bbcc79' to='princely_musings_F4lJc+HO2fM=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration>
			<roomname>Just room name</roomname>
		</configuration>
		<occupants>
			<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
			<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2023-11-17 15:13:22.256 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-249147</version>
		<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.256 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-249147</version>
		<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.256 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-249147</version>
		<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.256 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='9eb5200b244b1d91d9d5309822bbcc79' type='result'/>



*** User 2023-11-17 15:13:22.256 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='d27555feaa8e3215efa4e1e70e20efe7'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.257 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-257440'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d27555feaa8e3215efa4e1e70e20efe7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.257 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='d27555feaa8e3215efa4e1e70e20efe7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.258 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.258 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='cede48bda93c26f965a669e494930886'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.259 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='1700-234002-259000'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='cede48bda93c26f965a669e494930886'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.259 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='cede48bda93c26f965a669e494930886' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.259 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.259 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='58ff90f12214bb54aed5aab28734118f'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.260 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-260384'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='58ff90f12214bb54aed5aab28734118f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.260 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='58ff90f12214bb54aed5aab28734118f' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.260 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.260 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='eb1d9b17a33ecb93d1daeb9d891ac0c2'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.262 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-261697'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='eb1d9b17a33ecb93d1daeb9d891ac0c2'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.262 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='eb1d9b17a33ecb93d1daeb9d891ac0c2' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.262 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.262 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<message to='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.264 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-262463' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.264 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='1700-234002-262463' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.264 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-262463' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.264 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='c829bce56c0c976842129eac77b1ced0'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.265 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='1700-234002-265454'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='c829bce56c0c976842129eac77b1ced0'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.265 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='c829bce56c0c976842129eac77b1ced0' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.265 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.265 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<message to='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.267 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-266123' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.267 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='1700-234002-266123' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.267 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-266123' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.267 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='a0a970f83a29ce914424cd81f0b8bf43'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.268 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-268298'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a0a970f83a29ce914424cd81f0b8bf43'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.268 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='a0a970f83a29ce914424cd81f0b8bf43' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.268 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.269 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<message to='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.270 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-269252' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.270 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='1700-234002-269252' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.270 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='1700-234002-269252' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9eb5200b244b1d91d9d5309822bbcc79'/>
</message>



*** User 2023-11-17 15:13:22.270 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='862023b2de2e7ec1da3f87934800f901'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.271 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-271438'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='862023b2de2e7ec1da3f87934800f901'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.271 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='862023b2de2e7ec1da3f87934800f901' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.271 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.271 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='f5ab47805dbde7ca2f072452fed5dc6b'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.273 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='1700-234002-272727'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='f5ab47805dbde7ca2f072452fed5dc6b'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.273 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='f5ab47805dbde7ca2f072452fed5dc6b' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.273 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.273 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='9d209ebcac05db6871eb7ac1ffa0726d'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.274 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1700-234002-274173'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='9d209ebcac05db6871eb7ac1ffa0726d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.248124Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='9eb5200b244b1d91d9d5309822bbcc79' type='groupchat' from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-249147</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:13:22.274 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='9d209ebcac05db6871eb7ac1ffa0726d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002248124/cHJpbmNlbHlfbXVzaW5nc19mNGxqYytobzJmbT1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.274 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.274 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='613095d358f8471b70118d242d6cda6b' to='princely_musings_F4lJc+HO2fM=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
	</query>
</iq>



*** User 2023-11-17 15:13:22.278 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='613095d358f8471b70118d242d6cda6b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-249147</prev-version>
		<version>1700-234002-275797</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.278 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='613095d358f8471b70118d242d6cda6b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-249147</prev-version>
		<version>1700-234002-275797</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.278 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' id='613095d358f8471b70118d242d6cda6b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.278 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='613095d358f8471b70118d242d6cda6b' type='result'/>



*** User 2023-11-17 15:13:22.278 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='f3f85ffa394f81c7f060f5ce84e5a07c' to='princely_musings_F4lJc+HO2fM=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
	</query>
</iq>



*** User 2023-11-17 15:13:22.281 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='f3f85ffa394f81c7f060f5ce84e5a07c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-275797</prev-version>
		<version>1700-234002-279477</version>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.281 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<message from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' id='f3f85ffa394f81c7f060f5ce84e5a07c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.281 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='princely_musings_f4ljc+ho2fm=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='f3f85ffa394f81c7f060f5ce84e5a07c' type='result'/>



*** User 2023-11-17 15:13:22.281 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
<iq type='set' id='8b28e3f40d79ffd94da0a5c3a2fb7a43'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='list-single' var='box'>
				<value>inbox</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.282 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1' id='8b28e3f40d79ffd94da0a5c3a2fb7a43' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.282 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.283 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
<iq type='set' id='1ea7525ef5c5a7b6a3277bb37a25eafe'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='list-single' var='box'>
				<value>inbox</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-11-17 15:13:22.283 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1' id='1ea7525ef5c5a7b6a3277bb37a25eafe' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:13:22.283 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:22.290 ***🔗
REST request fails:
Code: 401
Req: {<0.17887.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4eb2d4f4955824d5">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOjYxZTA0YTZkNzQ4YjFjYjE=">>}],
      <<"{\"variables\":{\"hostType\":\"test type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>}
Result: {{<<"401">>,<<"Unauthorized">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:13:21 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"167">>}],
         <<"{\"errors\":[{\"extensions\":{\"code\":\"no_permissions\"},\"path\":[\"ROOT\",\"inbox\",\"flushGlobalBin\"],\"message\":\"Cannot execute query ROOT without a global admin permissions\"}]}">>,
         316,5926}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"61e04a6d748b1cb1">>},
          body =>
              <<"{\"variables\":{\"hostType\":\"test type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          return_maps => true,
          role => {graphql,domain_admin},
          return_headers => true}


*** User 2023-11-17 15:13:22.290 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:13:22.291 ***🔗
kate_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:13:22.291 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 out
</stream:stream>

*** User 2023-11-17 15:13:22.291 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.org/res1 in
</stream:stream>

*** User 2023-11-17 15:13:22.291 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:13:22.291 ***🔗
alice_domain_admin_flush_global_bin_no_permission_782@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:13:22.317 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1507.html



=== Ended at 2023-11-17 15:13:22
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result