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
External storage: Unneccesary menu entries #24937
Comments
I don't consider this a bug. If the files_external app is enabled the menu item is registered.
To achieve this each time the menu is generated we need to check if the current user is allowed to mount external storages or if there is an external storage using global credentials.
And your users are confused about this one? We may improved the wording and yeah it looks a bit weird. I think we can improve the look a bit if we add the above part also to the error view and make the error message a bit more explaining. cc @jancborchardt |
I see this as two elements
It's also seperated like this for the admin. If the checkbox 'Benutzern erlauben, externen Speicher einzubinden' is not selected, the second one should not appear. It's not a user specific configuration. Or mayby it may be seen like two seperate apps. Like is an admin adds or removes an app. That's where the menu entry needs to be checked only. |
Why not? |
Ain't it useless? What sense would it make to display only an error message and a useless option to enter credentials to be used for ... nothing? |
Good first issue Design changes: #24937 (comment) Fine by me to hide the external storage app for users if the current user is not allowed to mount external storages and there is no external storage (the user has access to) using global credentials. Pull requests are always welcome. |
Steps to reproduce
Expected behaviour
The users don't see the menu entries for external storage
Actual behaviour
Users have a menu entry for extenal storage, but they can't mount any external storage, it just displays an error message.
Server configuration
Operating system:
Raspbian OS
Web server:
Apache
Database:
mysql/mariadb
PHP version:
php-fpm 7.3
Nextcloud version: (see Nextcloud admin page)
20.0.4
The text was updated successfully, but these errors were encountered: