=== 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">>,<<"b5a4738a4fa2b4e5">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.17772.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"mysql_redis"},
     {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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.graphql_inbox_SUITE.logs/run.2024-01-14_19.42.21/graphql_inbox_suite.domain_admin_flush_global_bin_no_permission.24963.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.graphql_inbox_SUITE.logs/run.2024-01-14_19.42.21/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        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_amp => #{},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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@eebaa68b7995.2024-01-14_19.39.51"

=== Started at 2024-01-14 19:42:27


*** CT 2024-01-14 19:42:27.709 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1361.html

*** User 2024-01-14 19:42:27.715 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.715 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b9e31e1d8b4450e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:42:27.715 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.715 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzc3AG1hdHlncnlzYQ==</auth>



*** User 2024-01-14 19:42:27.716 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:42:27.716 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.716 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14c48672ee7654df' from='domain.example.com' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com'>

*** User 2024-01-14 19:42:27.717 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.717 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='a3f0a831a1a761df205d9e0bac732932'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.717 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq id='a3f0a831a1a761df205d9e0bac732932' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.717 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='ef304d6f8aa76321b73c1af873d87421'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.717 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='ef304d6f8aa76321b73c1af873d87421' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.717 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:42:27.719 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1'/>



*** User 2024-01-14 19:42:27.719 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.719 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8a42db4c4060f03' from='domain.example.org' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:42:27.720 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.720 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fNzc3AG1hdHlncnlzYQ==</auth>



*** User 2024-01-14 19:42:27.720 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:42:27.720 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.721 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='746f1dafa9fbf416' from='domain.example.org' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org'>

*** User 2024-01-14 19:42:27.721 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.721 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='e5b03bca8d1d86d5b89ef54741b40dda'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.721 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq id='e5b03bca8d1d86d5b89ef54741b40dda' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.721 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='67e51fcf9cac97e97dd04eb26dfd6704'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.721 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='67e51fcf9cac97e97dd04eb26dfd6704' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.722 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<presence/>



*** User 2024-01-14 19:42:27.723 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1'/>



*** User 2024-01-14 19:42:27.723 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.723 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9d93924847514fa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:42:27.723 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.723 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZG9tYWluX2FkbWluX2ZsdXNoX2dsb2JhbF9iaW5fbm9fcGVybWlzc2lvbl83NzcAbWFrcm93ZTtw</auth>



*** User 2024-01-14 19:42:27.724 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:42:27.724 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.724 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f61e59a854418fab' from='domain.example.com' version='1.0' xml:lang='en' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com'>

*** User 2024-01-14 19:42:27.724 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@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 2024-01-14 19:42:27.724 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='206b44fe32022f674d31f96c76fae41a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.725 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq id='206b44fe32022f674d31f96c76fae41a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:42:27.725 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='81c82537cef86655c1e1b8af5ab08191'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.725 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='81c82537cef86655c1e1b8af5ab08191' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:42:27.725 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:42:27.726 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<presence from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1'/>



*** User 2024-01-14 19:42:27.733 ***🔗
REST request fails:
Code: 401
Req: {<0.17854.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"60695513ebf65344">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmI1YTQ3MzhhNGZhMmI0ZTU=">>}],
      <<"{\"variables\":{\"days\":null,\"hostType\":\"nonexistent host type\"},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>}
Result: {{<<"401">>,<<"Unauthorized">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Sun, 14 Jan 2024 19:42:27 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,6103}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"days\":null,\"hostType\":\"nonexistent host type\"},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"b5a4738a4fa2b4e5">>},
          role => {graphql,domain_admin},
          return_maps => true,return_headers => true}


*** User 2024-01-14 19:42:27.734 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='04dac371223f64123c5aa5ed0d6bdfeb' to='princely_musings_99lkkZGEbm4=@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_777@domain.example.org</user>
			<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2024-01-14 19:42:27.739 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1705-261347-735178</version>
		<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.739 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1705-261347-735178</version>
		<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.739 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1705-261347-735178</version>
		<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.739 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='04dac371223f64123c5aa5ed0d6bdfeb' type='result'/>



*** User 2024-01-14 19:42:27.739 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='892347063ade6316c77274e4a3d9f34b'>
	<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 2024-01-14 19:42:27.740 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-740122'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='892347063ade6316c77274e4a3d9f34b'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.740 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='892347063ade6316c77274e4a3d9f34b' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.740 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.740 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='61a0b7c16c0365e96a43ac6424750de5'>
	<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 2024-01-14 19:42:27.741 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='1705-261347-741478'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='61a0b7c16c0365e96a43ac6424750de5'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.741 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='61a0b7c16c0365e96a43ac6424750de5' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.742 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.742 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='66162bf3715b27da65a2654ab0e88b98'>
	<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 2024-01-14 19:42:27.743 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-742951'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='66162bf3715b27da65a2654ab0e88b98'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.743 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='66162bf3715b27da65a2654ab0e88b98' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.743 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.743 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='34f845af558eee31015101058f88cd8a'>
	<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 2024-01-14 19:42:27.744 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-744349'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='34f845af558eee31015101058f88cd8a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.744 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='34f845af558eee31015101058f88cd8a' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.744 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.745 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<message to='princely_musings_99lkkzgebm4=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.746 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-745257' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.746 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='1705-261347-745257' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.746 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-745257' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.746 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='0745f6c683f226aa215a7ceda49c9ac6'>
	<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 2024-01-14 19:42:27.747 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='1705-261347-747271'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='0745f6c683f226aa215a7ceda49c9ac6'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.747 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='0745f6c683f226aa215a7ceda49c9ac6' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.748 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.748 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<message to='princely_musings_99lkkzgebm4=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.749 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-748283' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.749 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='1705-261347-748283' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.749 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-748283' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.749 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='51db6bffbea28a50df9936bf845b8601'>
	<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 2024-01-14 19:42:27.750 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-750490'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='51db6bffbea28a50df9936bf845b8601'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.750 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='51db6bffbea28a50df9936bf845b8601' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.751 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.751 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<message to='princely_musings_99lkkzgebm4=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.752 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-751336' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.752 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='1705-261347-751336' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.752 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='1705-261347-751336' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='04dac371223f64123c5aa5ed0d6bdfeb'/>
</message>



*** User 2024-01-14 19:42:27.753 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='0f995b0581546869e772825740e9a25c'>
	<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 2024-01-14 19:42:27.754 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-753599'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='0f995b0581546869e772825740e9a25c'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.754 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='0f995b0581546869e772825740e9a25c' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.754 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.754 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='90bb7d76a2d6677f8bb964876ccf8b63'>
	<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 2024-01-14 19:42:27.755 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='1705-261347-755089'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='90bb7d76a2d6677f8bb964876ccf8b63'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.755 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='90bb7d76a2d6677f8bb964876ccf8b63' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.755 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.755 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='d8d9ace487cae2604f494890cd4c1ea7'>
	<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 2024-01-14 19:42:27.756 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1705-261347-756536'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='d8d9ace487cae2604f494890cd4c1ea7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:42:27.734273Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='04dac371223f64123c5aa5ed0d6bdfeb' type='groupchat' from='princely_musings_99lkkzgebm4=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1705-261347-735178</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-01-14 19:42:27.756 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='d8d9ace487cae2604f494890cd4c1ea7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1705261347734273/cHJpbmNlbHlfbXVzaW5nc185OWxra3pnZWJtND1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-01-14 19:42:27.757 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.757 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='4bce5ae0cb6c36968684b125b6c925a6' to='princely_musings_99lkkZGEbm4=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
	</query>
</iq>



*** User 2024-01-14 19:42:27.760 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='4bce5ae0cb6c36968684b125b6c925a6' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1705-261347-735178</prev-version>
		<version>1705-261347-758098</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.760 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='4bce5ae0cb6c36968684b125b6c925a6' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1705-261347-735178</prev-version>
		<version>1705-261347-758098</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.760 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' id='4bce5ae0cb6c36968684b125b6c925a6' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.760 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='4bce5ae0cb6c36968684b125b6c925a6' type='result'/>



*** User 2024-01-14 19:42:27.760 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='49f8f22552042228de3e6c04708f0d09' to='princely_musings_99lkkZGEbm4=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
	</query>
</iq>



*** User 2024-01-14 19:42:27.763 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='49f8f22552042228de3e6c04708f0d09' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1705-261347-758098</prev-version>
		<version>1705-261347-761542</version>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.763 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<message from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' id='49f8f22552042228de3e6c04708f0d09' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-01-14 19:42:27.763 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='princely_musings_99lkkzgebm4=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='49f8f22552042228de3e6c04708f0d09' type='result'/>



*** User 2024-01-14 19:42:27.763 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
<iq type='set' id='fe271b37db2155175ee183832fc951f3'>
	<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 2024-01-14 19:42:27.764 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1' id='fe271b37db2155175ee183832fc951f3' 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 2024-01-14 19:42:27.765 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.765 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
<iq type='set' id='1cf05029e2f7d6807e7e235bd4c3f628'>
	<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 2024-01-14 19:42:27.766 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1' id='1cf05029e2f7d6807e7e235bd4c3f628' 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 2024-01-14 19:42:27.766 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-01-14 19:42:27.772 ***🔗
REST request fails:
Code: 401
Req: {<0.17856.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"98ce921240deef46">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmI1YTQ3MzhhNGZhMmI0ZTU=">>}],
      <<"{\"variables\":{\"days\":null,\"hostType\":\"test type\"},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>}
Result: {{<<"401">>,<<"Unauthorized">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Sun, 14 Jan 2024 19:42:27 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,5768}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"days\":null,\"hostType\":\"test type\"},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"b5a4738a4fa2b4e5">>},
          role => {graphql,domain_admin},
          return_maps => true,return_headers => true}


*** User 2024-01-14 19:42:27.773 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:42:27.773 ***🔗
kate_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:42:27.773 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 out
</stream:stream>

*** User 2024-01-14 19:42:27.773 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.org/res1 in
</stream:stream>

*** User 2024-01-14 19:42:27.773 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:42:27.773 ***🔗
alice_domain_admin_flush_global_bin_no_permission_777@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:42:27.790 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1361.html



=== Ended at 2024-01-14 19:42:27
=== successfully completed test case
=== === Returned value: ok


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