-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Added parameter to disable "Add to your nextcloud" option in public shares #33715
Conversation
…hares Added app `files_sharing` parameter `showExternalShareOption` to allow one to hide "Add to your nextcloud" option in public shares (shown by default). Use ``` occ config:app:set files_sharing showExternalShareOption --value='no' ``` to hide and ``` occ config:app:set files_sharing showExternalShareOption --value='yes' ``` to restore. Related: nextcloud#12395 Author-Change-Id: IB#1123210 Signed-off-by: Pawel Boguslawski <[email protected]>
@PVince81 @schiessle should this not simply be linked to the Federated Sharing options? When federated sharing is disabled, this should not be shown. |
Yes, I would also expect that we hide it if outgoing federated shares are disabled on the server |
@pboguslawski could you adjust your pull request so that the behavior is simply linked to the existing setting and doesn’t need another option? Thank you! :) |
According to
Disabling local nc federation may also disable adding external directories but this should be considered as separate PR if required. If you still doesn't see point in separate param - please suggest existing parameter that should be used. |
@schiessle what is the technical name of the existing param that should be used? I'd still say that yes, it should be the same setting. |
The occ command previously shared to hide the "Add to your nextcloud" option, does not seem to work in NC 27.1.4. At least I couldn't manage to hide it using:
|
@AndyScherzinger this needs input/assessment from an engineer familiar with the matter. I gave my design feedback above. :) |
@sorbaugh is back, so rather let him handle it than me 😃 🙏 |
I understand the point, I'd say considering those options are pretty related, and for the sake of user experience and simplicity, we should keep the same setting :) Do you mind rebasing your PR and using the |
Isn't |
Not anymore! So this issue is now resolved 🎉 |
Added app
files_sharing
parametershowExternalShareOption
to allow one to hide"Add to your nextcloud" option in public shares (shown by default). Use
to hide and
to restore.
Related: #12395
Author-Change-Id: IB#1123210
Signed-off-by: Pawel Boguslawski [email protected]