-
-
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
Disable "Add to your nextcloud" option in public share links #12395
Comments
GitMate.io thinks possibly related issues are #9434 (Public Sharing), #11375 (Nextcloud is sending Emails even if link sharing is disabled once created a share by a user), #1916 (discussion: remove "send email" option for public links), #10869 (Disabled users should have their shared file links disabled?), and #1639 (Unable to access public shared link). |
I have edited the following files to remove any mention of ExternalShareMenuAction.php Restarted the container, but that option is still there. Why? If I go into chrome console and delete:
It gets hidden. Any help? I really need this to be hidden Edit: After more research I found the file ShareController.php and deleted:
That removed that option for me. I don't know if this single change is necessary, or if the other changes I did before is necessary too. However I'd still like if this could be a option in the menu or a settings in the config files. Edit2: Only the change in ShareController.php seems to be necessary to hide it. |
We should probably only show this if federation is enabled, because otherwise it's quite useless. This would mean not showing it if federation is disabled or the federation app is not installed/enabled at all. |
So there is no way to disable it currently without manual editing of source? |
fix is in #13261 |
sudo -u apache ./occ app:disable federatedfilesharing Is there a way for nextcloud to disable federatedfilesharing to prevent the bellow error? Sharing doc02.odt failed, could not find [email protected], maybe the server is currently unreachable or uses a self-signed certificate. |
To disable I simply negated the condition with "!" in controller.php file
Then I added the "!"
|
…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]>
…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]>
See #33715 |
I want to disable any kind of federation sharing.
I've disabled the federation app, unchecked all Federated Cloud Sharing options and I still can't get rid of this option.
Netxcloud version 14.0.3
The text was updated successfully, but these errors were encountered: