Skip to content
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 web UI integration with local client #50280

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pboguslawski
Copy link
Contributor

Summary

Added system config parameter web_ui_integration_local_client.enabled to allow disabling integration with local client from web UI (i.e. when local Nextcloud clients are not used).

Use

occ config:system:set web_ui_integration_local_client.enabled --value='true' --type=boolean

to enable (default if not set) and

occ config:system:set web_ui_integration_local_client.enabled --value='false' --type=boolean

to disable integration.

Use added parameter to show/hide Edit locally option in Nextcloud Files.

Related: https://help.nextcloud.com/t/how-remove-hide-edit-locally-option-in-web-interface/171999/5
Author-Change-Id: IB#1156402

Checklist

Added system config parameter `web_ui_integration_local_client.enabled`
to allow disabling integration with local client from web UI (i.e. when
local Nextcloud clients are not used).

Use
```
occ config:system:set web_ui_integration_local_client.enabled --value='true' --type=boolean
```
to enable (default if not set) and
```
occ config:system:set web_ui_integration_local_client.enabled --value='false' --type=boolean
```
to disable  integration.

Use added parameter to show/hide `Edit locally` option in Nextcloud Files.

Related: https://help.nextcloud.com/t/how-remove-hide-edit-locally-option-in-web-interface/171999/5
Author-Change-Id: IB#1156402
Signed-off-by: Pawel Boguslawski <[email protected]>
Fixes: f58ce7e
Author-Change-Id: IB#1156402
Signed-off-by: Pawel Boguslawski <[email protected]>
@solracsf
Copy link
Member

Wouldn't this make more sense in the... Web UI itself ?

@pboguslawski
Copy link
Contributor Author

Wouldn't this make more sense in the... Web UI itself ?

It's meant for admin to be able to disable such options globally using config file not per user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants