=== 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">>,<<"33f8eeb2439b5bdd">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.17900.0>},
     {{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.14341.html"},
     {tc_group_properties,[{name,domain_admin_inbox}]},
     {tc_group_path,[]},
     {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.942 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1507.html

*** User 2023-11-17 15:13:22.950 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.950 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b61d1a5f7a688f4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.950 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.950 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzg2AG1hdHlncnlzYQ==</auth>



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



*** User 2023-11-17 15:13:22.951 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.951 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fcc6e0d6894e10d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com'>

*** User 2023-11-17 15:13:22.951 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.951 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='3c2dd9ab9717e3baf8d1272e112869a7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



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



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



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



*** User 2023-11-17 15:13:22.954 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.954 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8c7c1906d413834' from='domain.example.org' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.954 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.954 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzg2AG1hdHlncnlzYQ==</auth>



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



*** User 2023-11-17 15:13:22.955 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.955 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eba47cd0f503dfe5' from='domain.example.org' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org'>

*** User 2023-11-17 15:13:22.955 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@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.955 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='50f80e9e5442ca2615e2633c92a83985'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:13:22.956 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq id='50f80e9e5442ca2615e2633c92a83985' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1</jid>
	</bind>
</iq>



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



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



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



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



*** User 2023-11-17 15:13:22.958 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@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.958 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8434cb37c084c633' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:13:22.958 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@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.958 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZG9tYWluX2FkbWluX2ZsdXNoX2dsb2JhbF9iaW5fbm9fcGVybWlzc2lvbl83ODYAbWFrcm93ZTtw</auth>



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



*** User 2023-11-17 15:13:22.959 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@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.959 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb17aec8b31d3fff' from='domain.example.com' version='1.0' xml:lang='en' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com'>

*** User 2023-11-17 15:13:22.959 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@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.959 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='955515df4b09e50e95dbfd02c0250666'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



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



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



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



*** User 2023-11-17 15:13:22.968 ***🔗
REST request fails:
Code: 401
Req: {<0.17982.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"23ccea646b6aaf82">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOjMzZjhlZWIyNDM5YjViZGQ=">>}],
      <<"{\"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:22 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,5969}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"33f8eeb2439b5bdd">>},
          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.968 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='9e06f609f3ccc98ac01c4806bee8281c' to='princely_musings_EcnVBMCLHs0=@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_786@domain.example.org</user>
			<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2023-11-17 15:13:22.974 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-969606</version>
		<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.974 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-969606</version>
		<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.974 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-234002-969606</version>
		<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.975 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='9e06f609f3ccc98ac01c4806bee8281c' type='result'/>



*** User 2023-11-17 15:13:22.975 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='92e7a44fa8d90c0fe2c849b43fd7787d'>
	<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.976 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-975962'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='92e7a44fa8d90c0fe2c849b43fd7787d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_786@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.976 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='92e7a44fa8d90c0fe2c849b43fd7787d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.976 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='c0287652fa9391d6e46e9f037bf83373'>
	<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.977 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='1700-234002-977484'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='c0287652fa9391d6e46e9f037bf83373'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_786@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.977 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='c0287652fa9391d6e46e9f037bf83373' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.978 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='876decd6a7ccdc6936e49ea4d6650acf'>
	<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.979 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-978856'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='876decd6a7ccdc6936e49ea4d6650acf'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_786@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.979 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='876decd6a7ccdc6936e49ea4d6650acf' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.979 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='2410ccbf27780bb5d79b501ba6a9ad6d'>
	<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.980 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-979977'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='2410ccbf27780bb5d79b501ba6a9ad6d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_786@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.980 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='2410ccbf27780bb5d79b501ba6a9ad6d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.980 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<message to='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.982 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-980743' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.982 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='1700-234002-980743' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.982 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-980743' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.982 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='a89f30eaae7b8135e3c4f3ba98bae7db'>
	<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.983 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='1700-234002-983370'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a89f30eaae7b8135e3c4f3ba98bae7db'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_786@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.983 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='a89f30eaae7b8135e3c4f3ba98bae7db' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.983 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<message to='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.985 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-984191' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.985 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='1700-234002-984191' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.985 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-984191' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.985 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='9e0665636296c2fe2f92ceede00780ec'>
	<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.986 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-986701'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='9e0665636296c2fe2f92ceede00780ec'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_786@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.987 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='9e0665636296c2fe2f92ceede00780ec' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.987 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<message to='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.988 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-987407' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.989 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='1700-234002-987407' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.989 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='1700-234002-987407' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9e06f609f3ccc98ac01c4806bee8281c'/>
</message>



*** User 2023-11-17 15:13:22.989 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='b6a46a27f59512ac64e55778ab1e7599'>
	<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.990 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-989923'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='b6a46a27f59512ac64e55778ab1e7599'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_786@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.990 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='b6a46a27f59512ac64e55778ab1e7599' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.990 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='ab28a934f40754c0bd66f9746b707d6a'>
	<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.991 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='1700-234002-991236'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='ab28a934f40754c0bd66f9746b707d6a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_786@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.991 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='ab28a934f40754c0bd66f9746b707d6a' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.991 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='2c5a3aeed34a6819cd64daf5e76ae099'>
	<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.992 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='1700-234002-992729'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='2c5a3aeed34a6819cd64daf5e76ae099'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:13:22.968649Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='9e06f609f3ccc98ac01c4806bee8281c' type='groupchat' from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-234002-969606</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_786@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.993 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='2c5a3aeed34a6819cd64daf5e76ae099' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234002968649/cHJpbmNlbHlfbXVzaW5nc19lY252Ym1jbGhzMD1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



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

*** User 2023-11-17 15:13:22.993 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='7e05c49fff32ad32c7b6285b2d2f8021' to='princely_musings_EcnVBMCLHs0=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org</user>
	</query>
</iq>



*** User 2023-11-17 15:13:22.996 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='7e05c49fff32ad32c7b6285b2d2f8021' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-969606</prev-version>
		<version>1700-234002-994478</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.996 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='7e05c49fff32ad32c7b6285b2d2f8021' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-969606</prev-version>
		<version>1700-234002-994478</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.996 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' id='7e05c49fff32ad32c7b6285b2d2f8021' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-17 15:13:22.997 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='7e05c49fff32ad32c7b6285b2d2f8021' type='result'/>



*** User 2023-11-17 15:13:22.997 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='cef241305be50327952913a0581eba30' to='princely_musings_EcnVBMCLHs0=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com</user>
	</query>
</iq>



*** User 2023-11-17 15:13:23.000 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<message from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.com' id='cef241305be50327952913a0581eba30' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-234002-994478</prev-version>
		<version>1700-234002-998285</version>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com</user>
	</x>
	<body/>
</message>



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



*** User 2023-11-17 15:13:23.000 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='princely_musings_ecnvbmclhs0=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='cef241305be50327952913a0581eba30' type='result'/>



*** User 2023-11-17 15:13:23.000 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 out
<iq type='set' id='814908044daaa41ef7438d32200b9b7f'>
	<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:23.001 ***🔗
alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_786@domain.example.org/res1' id='814908044daaa41ef7438d32200b9b7f' 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:23.001 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:23.001 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
<iq type='set' id='3e72bf364f798cc35614899ef75383e6'>
	<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:23.002 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1' id='3e72bf364f798cc35614899ef75383e6' 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:23.002 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:13:23.009 ***🔗
REST request fails:
Code: 401
Req: {<0.17984.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"91bd4a6dc7e71990">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOjMzZjhlZWIyNDM5YjViZGQ=">>}],
      <<"{\"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:22 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,5881}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"33f8eeb2439b5bdd">>},
          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:23.010 ***🔗
kate_domain_admin_flush_global_bin_no_permission_786@domain.example.com/res1 out
</stream:stream>

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

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

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

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

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



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


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