-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Upgrade Nextcloud17.0.0 to 17.0.1 no access to personally settings #17899
Comments
Same here. Only the admin account can go to the personally settings. |
@ronny6927 @AleksCee anything in your logs? Tried to reproduce it with 17.0.1 and works for me. Test1 and Test2 can both access the personal settings 🤔 |
Nothing in the Nextcloud.log only a 302 http Status for the settings/user url in the Access.log |
Ok, I found out another hint: a „normal“ user can access but a user which is a group-admin was redirect to / an then to /files.... |
Like "test2" in my screenshot? I made him group admin for "testers" and could access the personal settings. |
Yes, like Test2. Dam. What else can do the behavior..... two way authentication is another different between the two users. But the admin has two way authentication too and works fine. |
Ok, also with debug level no log output in nextcloud.log while accessing /settings/user |
Another hint. I have revoked the group admin privileges of the affected user and I can access the private settings of this user. After Grand the group admin privileges again, the user was redirected to /files again. So I think, the reason is the group admin privileges. |
I saw this problem om NC 17.0.0. It was a freesh install and is not yet updated to 17.0.1. I saw this issue now and decided to help testing - but today i can not reproduce this! |
Ok I found out the reason. If the plugin ocDownloader activated, I can reproduce the behavior. If I deactivate ocDownloader all users can access there personal settings. I will create issue in this project an link it. |
Hello, I do not have the OCDowloader enabled. Error still exists. |
@ronny6927 have you try to disable other apps to figure out which also can do this? |
I would still come up with flouwploud? |
flowupload is not |
I see this issue when ocDownloader 1.7.5 is enabled, not with it disabled. I had ocDownloader enabled before, but disabled it as nobody here used it, and forgot about that. That is why the problem disappeared for me. Good find! |
Hey guys, i also figured out exact that behaviour with rainloop installed. Disabling rainloop -> fine. Enable rainloop -> settings.php 302 to main. No output in Logs. |
Hey, additional investigation, i found the issue (but no code based solution) The problem occured on one account only: My own, oldest account with large number of oc_preferences. So tested with different other accounts, no one has this issue. Found root cause: Combination of "group admin" and roundcube installed cause the 302 redirect from settings to home. Disabling the group admin functionality solved that for me me. In this case it isn't a big issue, because i have an global admin account also. |
Also Rainloop does invoke the issue... |
Some apps are still using the old way to register a admin page. This will trigger a redirect for sub admins if they access the personal settings. At best they would probably just update the apps and use the new way. Old way is deprecated for a while but still there. That seems to be a very frustrating issue. I don't know much about the "old world". It was not possible in general for sub admins to access the administration section? If that's the case (and that would explain why they use
Actually that's quite bad. cc @nextcloud/server-triage @juliushaertl |
Ah. That seems to be a regression of #15679. The patch introduced admin section for sub admins. And that's the reason it does not work for Nextcloud 17 anymore. Legacy forms have no idea about sub admins ;) |
Has anyone reported this at the Rainloop repo? |
Yes. Link to issue has been posted earlier. |
This issue triggered something to try to actually fix something.. the findings are: |
No. The developer experience is discussed here: #18677.
Yes. That's the recommended way. A good example for admin and personal settings seems to be the activity app: https://github.com/nextcloud/activity/blob/9601838be45451201b748eaf84946c863479e416/appinfo/info.xml#L51-L56 I think they are using the latest non deprecated approach. |
I tried that, that makes the admin/personal page disappear.. |
Exactly. In the past admin settings were only shown to real admins. Now some are available to sub admins as well. |
It would be perfectly acceptable to not show subadmin pages for old applications. |
Possibly related: https://github.com/nextcloud/server/pull/19703/files#r386283373 |
As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. The latest version can be seen by checking https://nextcloud.com/install/#install-clients and https://nextcloud.com/install/#instructions-server respectively. |
The following problem after updating from NC 17.0.0 to NC 17.0.1, users can no longer access their personal settings.
When the user settings are called, the users are directed to their home directory.
If user is also set as a group administrator, this behavior occurs.
Installed on Ubuntu server 18.04 x64
Apache 2.4.29
PHP 7.3.11
Maria DB 10.4.10
I think it has to do with user rights?
The access rights are correct in the web directory.
Does anyone have a hint?
Server configuration detail
Operating system: Linux 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64
Webserver: Apache/2 (apache2handler)
Database: mysql 10.4.10
PHP version: 7.3.11-1+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 17.0.1 - 17.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
The text was updated successfully, but these errors were encountered: