=== Test case: graphql_muc_light_SUITE:admin_change_room_config_errors/1 (click for source code) === Config value: [{muc_light_host,<<"muclight.localhost">>}, {secondary_muc_light_host,<<"muclight.localhost.bis">>}, {watchdog,<0.25580.0>}, {protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"c08c8aad0f66d630">>}}, {schema_endpoint,domain_admin}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-04-18_10.59.53/graphql_muc_light_suite.admin_change_room_config_errors.40323.html"}, {tc_group_properties,[{name,domain_admin_muc_light}]}, {tc_group_path,[[{name,domain_admin}]]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-04-18_10.59.53/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{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_sic => #{iqdisc => one_queue}, 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_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, mod_presence => #{}, mod_stream_management => #{buffer => true,ack => true,backend => cets, 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 => cets,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}}}, {{saved_modules,mongooseim@localhost,<<"localhost.bis">>}, #{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_sic => #{iqdisc => one_queue}, 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_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, mod_presence => #{}, mod_stream_management => #{buffer => true,ack => true,backend => cets, 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 => cets,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@2ed2b07c4324.2024-04-18_10.56.18" === Started at 2024-04-18 11:00:18
*** User 2024-04-18 11:00:18.383 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.383 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a097a18b51309d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:00:18.383 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.384 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2NoYW5nZV9yb29tX2NvbmZpZ19lcnJvcnNfMTEwNwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-18 11:00:18.384 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:00:18.384 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.385 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb8a9dee5838c31f' from='localhost' version='1.0' xml:lang='en' to='alice_admin_change_room_config_errors_1107@localhost'>
*** User 2024-04-18 11:00:18.385 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.385 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='ddc0a43efacf97ab39cf907a48234094'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-18 11:00:18.385 ***🔗 alicE_admin_change_room_config_errors_1107@localhost/res1 in <iq id='ddc0a43efacf97ab39cf907a48234094' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_admin_change_room_config_errors_1107@localhost/res1</jid> </bind> </iq>
*** User 2024-04-18 11:00:18.385 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='f540eec5566fbfbc631d6d390a171cad'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.386 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 in <iq from='localhost' to='alice_admin_change_room_config_errors_1107@localhost/res1' id='f540eec5566fbfbc631d6d390a171cad' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.386 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 out <presence/>
*** User 2024-04-18 11:00:18.387 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 in <presence from='alice_admin_change_room_config_errors_1107@localhost/res1' to='alice_admin_change_room_config_errors_1107@localhost/res1'/>
*** User 2024-04-18 11:00:18.387 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.387 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='307decb510409eea' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:00:18.387 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.387 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9jaGFuZ2Vfcm9vbV9jb25maWdfZXJyb3JzXzExMDcAbWFrcm9saWth</auth>
*** User 2024-04-18 11:00:18.388 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:00:18.388 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.388 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4b0981a96a5b95b' from='localhost' version='1.0' xml:lang='en' to='bob_admin_change_room_config_errors_1107@localhost'>
*** User 2024-04-18 11:00:18.389 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.389 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='c0ea3dd3b46313614c3b0c7baf72ad25'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-18 11:00:18.389 ***🔗 bOb_admin_change_room_config_errors_1107@localhost/res1 in <iq id='c0ea3dd3b46313614c3b0c7baf72ad25' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_admin_change_room_config_errors_1107@localhost/res1</jid> </bind> </iq>
*** User 2024-04-18 11:00:18.389 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='f9a32adcdffa561f319c6fadb57ad4e6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.389 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 in <iq from='localhost' to='bob_admin_change_room_config_errors_1107@localhost/res1' id='f9a32adcdffa561f319c6fadb57ad4e6' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.390 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 out <presence/>
*** User 2024-04-18 11:00:18.390 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 in <presence from='bob_admin_change_room_config_errors_1107@localhost/res1' to='bob_admin_change_room_config_errors_1107@localhost/res1'/>
*** User 2024-04-18 11:00:18.391 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.391 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff77d1132d72c8ee' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:00:18.391 ***🔗 kate_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.391 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fY2hhbmdlX3Jvb21fY29uZmlnX2Vycm9yc18xMTA3AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-18 11:00:18.392 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:00:18.392 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:00:18.393 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51a0af54af0c370c' from='localhost' version='1.0' xml:lang='en' to='kate_admin_change_room_config_errors_1107@localhost'>
*** User 2024-04-18 11:00:18.393 ***🔗 kate_admin_change_room_config_errors_1107@localhost/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-04-18 11:00:18.393 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='fd5dea49a46df9899f66524444b228e9'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-18 11:00:18.393 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <iq id='fd5dea49a46df9899f66524444b228e9' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>kate_admin_change_room_config_errors_1107@localhost/res1</jid> </bind> </iq>
*** User 2024-04-18 11:00:18.393 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <iq type='set' id='4a4926ac303d2b43aa3423d1f56591df'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.394 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <iq from='localhost' to='kate_admin_change_room_config_errors_1107@localhost/res1' id='4a4926ac303d2b43aa3423d1f56591df' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:00:18.394 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out <presence/>
*** User 2024-04-18 11:00:18.395 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in <presence from='kate_admin_change_room_config_errors_1107@localhost/res1' to='kate_admin_change_room_config_errors_1107@localhost/res1'/>
*** User 2024-04-18 11:00:18.408 ***🔗 REST request: Code: 200 Req: {<0.25722.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b08e7e148f59e622">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OmMwOGM4YWFkMGY2NmQ2MzA=">>}], <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"unknown@muclight.localhost\",\"owner\":\"alice_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 18 Apr 2024 11:00:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"280">>}], <<"{\"errors\":[{\"path\":[\"muc_light\",\"changeRoomConfiguration\"],\"message\":\"Room not found\",\"extensions\":{\"room\":\"unknown@muclight.localhost\",\"owner\":\"alice_admin_change_room_config_errors_1107@localhost\",\"code\":\"room_not_found\"}}],\"data\":{\"muc_light\":{\"changeRoomConfiguration\":null}}}">>, 419,6470} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"unknown@muclight.localhost\",\"owner\":\"alice_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"c08c8aad0f66d630">>}, return_maps => true,return_headers => true}
*** User 2024-04-18 11:00:18.416 ***🔗 REST request: Code: 200 Req: {<0.25724.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c95d0eb418e190d3">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OmMwOGM4YWFkMGY2NmQ2MzA=">>}], <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"wrong-user@wrong-domain\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 18 Apr 2024 11:00:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"276">>}], <<"{\"errors\":[{\"path\":[\"muc_light\",\"changeRoomConfiguration\"],\"message\":\"User's domain does not exist\",\"extensions\":{\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"wrong-user@wrong-domain\",\"code\":\"user_not_found\"}}],\"data\":{\"muc_light\":{\"changeRoomConfiguration\":null}}}">>, 415,6018} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"wrong-user@wrong-domain\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"c08c8aad0f66d630">>}, return_maps => true,return_headers => true}
*** User 2024-04-18 11:00:18.427 ***🔗 REST request: Code: 200 Req: {<0.25726.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"ca2d27c76d557694">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OmMwOGM4YWFkMGY2NmQ2MzA=">>}], <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"bob_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 18 Apr 2024 11:00:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"324">>}], <<"{\"errors\":[{\"path\":[\"muc_light\",\"changeRoomConfiguration\"],\"message\":\"Given user does not have permission to change config\",\"extensions\":{\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"bob_admin_change_room_config_errors_1107@localhost\",\"code\":\"not_allowed\"}}],\"data\":{\"muc_light\":{\"changeRoomConfiguration\":null}}}">>, 463,7523} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"bob_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"c08c8aad0f66d630">>}, return_maps => true,return_headers => true}
*** User 2024-04-18 11:00:18.435 ***🔗 REST request: Code: 200 Req: {<0.25728.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"dd7674228ae9dc5c">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OmMwOGM4YWFkMGY2NmQ2MzA=">>}], <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"kate_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 18 Apr 2024 11:00:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"313">>}], <<"{\"errors\":[{\"path\":[\"muc_light\",\"changeRoomConfiguration\"],\"message\":\"Given user does not occupy this room\",\"extensions\":{\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"kate_admin_change_room_config_errors_1107@localhost\",\"code\":\"not_room_member\"}}],\"data\":{\"muc_light\":{\"changeRoomConfiguration\":null}}}">>, 452,7098} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"subject\":\"subject2\",\"room\":\"1713-438018-395790@muclight.localhost\",\"owner\":\"kate_admin_change_room_config_errors_1107@localhost\",\"name\":\"first room\"},\"query\":\"mutation ($name: String, $options: [RoomConfigDictEntryInput!], $owner: JID!, $room: BareJID!, $subject: String) { muc_light { changeRoomConfiguration(name: $name, options: $options, owner: $owner, room: $room, subject: $subject) { jid name options { key value } participants { affiliation jid } subject } } }\"}">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"c08c8aad0f66d630">>}, return_maps => true,return_headers => true}
*** User 2024-04-18 11:00:18.436 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 out </stream:stream>
*** User 2024-04-18 11:00:18.436 ***🔗 kate_admin_change_room_config_errors_1107@localhost/res1 in </stream:stream>
*** User 2024-04-18 11:00:18.436 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 out </stream:stream>
*** User 2024-04-18 11:00:18.437 ***🔗 bob_admin_change_room_config_errors_1107@localhost/res1 in </stream:stream>
*** User 2024-04-18 11:00:18.437 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 out </stream:stream>
*** User 2024-04-18 11:00:18.437 ***🔗 alice_admin_change_room_config_errors_1107@localhost/res1 in </stream:stream>
=== Ended at 2024-04-18 11:00:18 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result