-
Notifications
You must be signed in to change notification settings - Fork 453
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
Conversation looses all moderators #3601
Comments
This is checked on an API level. You might run into concurrency of course if both first pass the check for the number of moderators and then the remove-from-self happens. But other than that it should not be possible.
Just for the record: as soon as there is no person in the call at some point, the next cron job will delete the conversation |
OK, sorry for my wrong interpretation of the condition. Still the concurrency really happens. I ran into a unmoderated conversation in real life. What's worse: The conversatin does not appear in the Web interface. I guess that's because no user (with an account) is in it. So nobody notices that it's still around.
That's what I thought happende to the initial conversation. But what is the condition for "no person in the call"? When I reproduced the problem, after the two moderators left, I closed the guest's browser (edge) and called /cron.php (I use webcron) on in a different browser (firefox). That was 5 hours ago and I can still open the conversation by the guest link. |
I think I managed to reproduce the issue last week, but I forgot to write it. |
Doesn't work anymore on master/stable19 so closing |
Steps to reproduce
Expected behaviour
It should not be possible for all moderators to leave the conversation
Actual behaviour
If the last moderators leaves before the menu item is disabled, the conversation has no moderator. It is not possible to delete it from the Web interface. But if guest access was enabled anyone who has the link can still use the conversation.
Server configuration detail
Operating system: Linux 4.19.89 #1 SMP Mon Dec 16 00:24:57 CET 2019 x86_64
Webserver: Apache (cgi-fcgi)
Database: mysql 10.2.29
PHP version:
7.3.14
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, imap, SimpleXML, soap, sockets, exif, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, apcu, imagick, memcached, redis, Zend OPcache
Nextcloud version: 18.0.4 - 18.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 17.0.? in several steps
Where did you install Nextcloud from: Hosting provider's template
Signing status
Integrity checker has been disabled. Integrity cannot be verified.
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: no
Are you using encryption:
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: any, verified with Firefox, Chrome, Edge and Android
Operating system: any, verified with Windows and Android
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: