-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL MUC Light - Allow rest admin to delete each room #3576
GraphQL MUC Light - Allow rest admin to delete each room #3576
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report
@@ Coverage Diff @@
## feature/graphql #3576 +/- ##
===================================================
+ Coverage 81.39% 81.41% +0.01%
===================================================
Files 463 463
Lines 33141 33140 -1
===================================================
+ Hits 26976 26980 +4
+ Misses 6165 6160 -5
Continue to review full report at Codecov.
|
67e5e92
to
9770b93
Compare
small_tests_23 / small_tests / 9770b93 small_tests_24 / small_tests / 9770b93 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 9770b93 dynamic_domains_mysql_redis_24 / mysql_redis / 9770b93 bosh_SUITE:essential:accept_higher_hold_value{error,
{{assertEqual,
[{module,bosh_SUITE},
{line,251},
{expression,"get_bosh_sessions ( )"},
{expected,[]},
{value,
[{bosh_session,<<"4548e52a9fb7e5d33859d6dc7d167a53ba491035">>,
<8637.7314.0>}]}]},
[{bosh_SUITE,accept_higher_hold_value,1,
[{file,"/home/circleci/project/big_tests/tests/bosh_SUITE.erl"},
{line,251}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 9770b93 ldap_mnesia_24 / ldap_mnesia / 9770b93 jingle_SUITE:init_per_suite{'EXIT',
{{badrpc,
{'EXIT',
{{badmatch,
{error,
{nkpacket,
{bad_return,
{{nkpacket_app,start,[normal,[]]},
{'EXIT',
{{badmatch,{error,eafnosupport}},
[{nkpacket_stun,check_stun_server,5,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_stun.erl"},
{line,277}]},
{nkpacket_stun,get_stun_servers,4,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_stun.erl"},
{line,261}]},
{nkpacket_stun,get_stun_servers,1,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_stun.erl"},
{line,97}]},
{nkpacket_stun,ext_ip,1,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_stun.erl"},
{line,75}]},
{nkpacket_app,get_auto_ips,0,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_app.erl"},
{line,113}]},
{nkpacket_app,start,2,
[{file,
"/home/circleci/project/_build/default/lib/nkpacket/src/nkpacket_app.erl"},
{line,58}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,293}]}]}}}}}}},
[{mod_jingle_sip,start_nksip_service_or_error,1,
[{file,"/home/circleci/project/src/jingle_sip/mod_jingle_sip.erl"},
{line,62}]},
{mod_jingle_sip,start,2,
[{file,"/home/circleci/project/src/jingle_sip/mod_jingle_sip.erl"}... ldap_mnesia_23 / ldap_mnesia / 9770b93 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 9770b93 internal_mnesia_24 / internal_mnesia / 9770b93 pgsql_mnesia_23 / pgsql_mnesia / 9770b93 mysql_redis_24 / mysql_redis / 9770b93 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 9770b93 pgsql_mnesia_24 / pgsql_mnesia / 9770b93 mssql_mnesia_24 / odbc_mssql_mnesia / 9770b93 riak_mnesia_24 / riak_mnesia / 9770b93 ldap_mnesia_24 / ldap_mnesia / 9770b93 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
small_tests_23 / small_tests / b4475bf small_tests_24 / small_tests / b4475bf dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / b4475bf dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / b4475bf dynamic_domains_mysql_redis_24 / mysql_redis / b4475bf ldap_mnesia_23 / ldap_mnesia / b4475bf dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / b4475bf ldap_mnesia_24 / ldap_mnesia / b4475bf internal_mnesia_24 / internal_mnesia / b4475bf elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / b4475bf pgsql_mnesia_23 / pgsql_mnesia / b4475bf mysql_redis_24 / mysql_redis / b4475bf pgsql_mnesia_24 / pgsql_mnesia / b4475bf mssql_mnesia_24 / odbc_mssql_mnesia / b4475bf riak_mnesia_24 / riak_mnesia / b4475bf |
This PR changes the
delete_room
command (used by the admin Rest API) not to execute the delete function as the passed user. This fixes #3472.By the way, I noticed that I forgot to change the
roomName
toroomID
in the documentation and in the command definitions. So I fixed it here.