=== 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">>,<<"a880fbdbe62db099">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.18019.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.graphql_inbox_SUITE.logs/run.2023-11-23_14.17.12/graphql_inbox_suite.domain_admin_flush_global_bin_no_permission.35202.html"},
     {tc_group_properties,[{name,domain_admin_inbox}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.graphql_inbox_SUITE.logs/run.2023-11-23_14.17.12/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_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_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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@7465fd1d5a64.2023-11-23_14.13.58"

=== Started at 2023-11-23 14:17:19


*** CT 2023-11-23 14:17:19.874 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1503.html

*** User 2023-11-23 14:17:19.881 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.881 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a881578279236d7d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:17:19.882 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.882 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fODA5AG1hdHlncnlzYQ==</auth>



*** User 2023-11-23 14:17:19.883 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:17:19.883 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.883 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11989e2746512ee9' from='domain.example.com' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com'>

*** User 2023-11-23 14:17:19.883 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.883 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='ff44d2deebdb7a023ff40b455a5473ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.884 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq id='ff44d2deebdb7a023ff40b455a5473ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.884 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='2f329da7b1778fee66b6d4e0be641743'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.885 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='2f329da7b1778fee66b6d4e0be641743' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.885 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:17:19.886 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1'/>



*** User 2023-11-23 14:17:19.887 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.887 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17c8b1042d0230e5' from='domain.example.org' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:17:19.887 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.887 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9mbHVzaF9nbG9iYWxfYmluX25vX3Blcm1pc3Npb25fODA5AG1hdHlncnlzYQ==</auth>



*** User 2023-11-23 14:17:19.888 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:17:19.888 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.889 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cdfa428f350b162e' from='domain.example.org' version='1.0' xml:lang='en' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org'>

*** User 2023-11-23 14:17:19.889 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.889 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='b6eb27d2e9495d8e89142c8f3cca4d5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.889 ***🔗
alicE_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq id='b6eb27d2e9495d8e89142c8f3cca4d5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.889 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='77bf7ac4cc15a6c4689e181d1e3e4bb4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.890 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='77bf7ac4cc15a6c4689e181d1e3e4bb4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.890 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<presence/>



*** User 2023-11-23 14:17:19.891 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<presence from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1'/>



*** User 2023-11-23 14:17:19.892 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.893 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5295282472616336' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:17:19.893 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.893 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZG9tYWluX2FkbWluX2ZsdXNoX2dsb2JhbF9iaW5fbm9fcGVybWlzc2lvbl84MDkAbWFrcm93ZTtw</auth>



*** User 2023-11-23 14:17:19.894 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:17:19.894 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.895 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de2fa830004d706d' from='domain.example.com' version='1.0' xml:lang='en' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com'>

*** User 2023-11-23 14:17:19.895 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.895 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='79613c995ba0bafdf75e25193daff4ad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.895 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq id='79613c995ba0bafdf75e25193daff4ad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:17:19.895 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='62a7646325daef455e57f7ecee801af3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.896 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='62a7646325daef455e57f7ecee801af3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:17:19.896 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:17:19.897 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<presence from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1'/>



*** User 2023-11-23 14:17:19.905 ***🔗
REST request fails:
Code: 401
Req: {<0.18101.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cb84f547de1ff3fc">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmE4ODBmYmRiZTYyZGIwOTk=">>}],
      <<"{\"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">>,<<"Thu, 23 Nov 2023 14:17:19 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,6777}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,domain_admin},
          body =>
              <<"{\"variables\":{\"hostType\":\"nonexistent host type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"a880fbdbe62db099">>},
          return_maps => true,return_headers => true}


*** User 2023-11-23 14:17:19.906 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='987b46a11e6b2b6239886ed5f627fcfa' to='princely_musings_+5G0MHFqRNg=@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_809@domain.example.org</user>
			<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2023-11-23 14:17:19.913 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-749039-907802</version>
		<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.913 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-749039-907802</version>
		<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.913 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-749039-907802</version>
		<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.913 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='987b46a11e6b2b6239886ed5f627fcfa' type='result'/>



*** User 2023-11-23 14:17:19.913 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='a7df6584c4a1f08292f6f80672ffb748'>
	<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-23 14:17:19.915 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-914548'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a7df6584c4a1f08292f6f80672ffb748'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.915 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='a7df6584c4a1f08292f6f80672ffb748' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.915 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.915 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='3317addf3b2c8dfcdb7422cfec915e95'>
	<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-23 14:17:19.917 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='1700-749039-916685'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='3317addf3b2c8dfcdb7422cfec915e95'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.917 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='3317addf3b2c8dfcdb7422cfec915e95' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.917 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.917 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='11ed01db312590c891a124e5d36768b4'>
	<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-23 14:17:19.919 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-918552'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='11ed01db312590c891a124e5d36768b4'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.919 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='11ed01db312590c891a124e5d36768b4' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.919 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.919 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='7f453babd2a11a0b592ad8e90ad7fc76'>
	<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-23 14:17:19.920 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-920150'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='7f453babd2a11a0b592ad8e90ad7fc76'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.920 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='7f453babd2a11a0b592ad8e90ad7fc76' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.920 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.920 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<message to='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.922 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-921244' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.922 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='1700-749039-921244' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.922 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-921244' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.922 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='361f72f9127486d3b0a82fc25b84e06f'>
	<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-23 14:17:19.924 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='1700-749039-923641'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='361f72f9127486d3b0a82fc25b84e06f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.924 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='361f72f9127486d3b0a82fc25b84e06f' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.924 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.924 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<message to='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.926 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-925016' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.926 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='1700-749039-925016' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.926 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-925016' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.926 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='d314f8f8f076a84ac467aa1e9bde8c4a'>
	<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-23 14:17:19.927 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-927538'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d314f8f8f076a84ac467aa1e9bde8c4a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.928 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='d314f8f8f076a84ac467aa1e9bde8c4a' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.928 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.928 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<message to='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.930 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-928866' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.930 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='1700-749039-928866' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.930 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com/kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='1700-749039-928866' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='987b46a11e6b2b6239886ed5f627fcfa'/>
</message>



*** User 2023-11-23 14:17:19.930 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='792fbdd6e123abb1beb8bf72d0f2b654'>
	<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-23 14:17:19.933 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-932820'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='792fbdd6e123abb1beb8bf72d0f2b654'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='owner'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.933 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='792fbdd6e123abb1beb8bf72d0f2b654' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.933 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.934 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='f31496d23341cfd137d055ae2a752cb7'>
	<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-23 14:17:19.935 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='1700-749039-935101'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='f31496d23341cfd137d055ae2a752cb7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>alice_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.935 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='f31496d23341cfd137d055ae2a752cb7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.935 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.936 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='c34c0e9803bc9322b7ac8fbe55e1c5df'>
	<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-23 14:17:19.937 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='1700-749039-936990'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='c34c0e9803bc9322b7ac8fbe55e1c5df'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:17:19.906614Z'/>
			<message to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='987b46a11e6b2b6239886ed5f627fcfa' type='groupchat' from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<version>1700-749039-907802</version>
					<user affiliation='member'>kate_domain_admin_flush_global_bin_no_permission_809@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-23 14:17:19.937 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='c34c0e9803bc9322b7ac8fbe55e1c5df' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700749039906614/cHJpbmNlbHlfbXVzaW5nc18rNWcwbWhmcXJuZz1AbXVjbGlnaHQuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-23 14:17:19.937 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.937 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='b3d0b7b5570a536a6be66b1fd7dc1772' to='princely_musings_+5G0MHFqRNg=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org</user>
	</query>
</iq>



*** User 2023-11-23 14:17:19.941 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='b3d0b7b5570a536a6be66b1fd7dc1772' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-749039-907802</prev-version>
		<version>1700-749039-939217</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.942 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='b3d0b7b5570a536a6be66b1fd7dc1772' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-749039-907802</prev-version>
		<version>1700-749039-939217</version>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.942 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' id='b3d0b7b5570a536a6be66b1fd7dc1772' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.942 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='b3d0b7b5570a536a6be66b1fd7dc1772' type='result'/>



*** User 2023-11-23 14:17:19.942 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='383f700b684ed6087267302b9d9e1e5d' to='princely_musings_+5G0MHFqRNg=@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
	</query>
</iq>



*** User 2023-11-23 14:17:19.946 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='383f700b684ed6087267302b9d9e1e5d' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-749039-939217</prev-version>
		<version>1700-749039-943822</version>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.946 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<message from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' id='383f700b684ed6087267302b9d9e1e5d' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-11-23 14:17:19.946 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='princely_musings_+5g0mhfqrng=@muclight.domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='383f700b684ed6087267302b9d9e1e5d' type='result'/>



*** User 2023-11-23 14:17:19.946 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
<iq type='set' id='d1384f59f4625a8aaa9fa4672c4ec64f'>
	<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-23 14:17:19.947 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
<iq from='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org' to='alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1' id='d1384f59f4625a8aaa9fa4672c4ec64f' 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-23 14:17:19.947 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.947 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
<iq type='set' id='6b1a6dc7ffdd9d417268b5b6928852ce'>
	<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-23 14:17:19.948 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
<iq from='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com' to='kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1' id='6b1a6dc7ffdd9d417268b5b6928852ce' 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-23 14:17:19.949 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-23 14:17:19.956 ***🔗
REST request fails:
Code: 401
Req: {<0.18103.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7c61280bf144e1ff">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmE4ODBmYmRiZTYyZGIwOTk=">>}],
      <<"{\"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">>,<<"Thu, 23 Nov 2023 14:17:19 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,6386}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,domain_admin},
          body =>
              <<"{\"variables\":{\"hostType\":\"test type\",\"days\":null},\"query\":\"mutation ($days: PosInt, $hostType: String!) { inbox { flushGlobalBin(days: $days, hostType: $hostType) } }\"}">>,
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"a880fbdbe62db099">>},
          return_maps => true,return_headers => true}


*** User 2023-11-23 14:17:19.957 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:17:19.957 ***🔗
kate_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-23 14:17:19.957 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 out
</stream:stream>

*** User 2023-11-23 14:17:19.957 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.org/res1 in
</stream:stream>

*** User 2023-11-23 14:17:19.958 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:17:19.958 ***🔗
alice_domain_admin_flush_global_bin_no_permission_809@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-23 14:17:19.985 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1503.html



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


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