[QA][OCM] Hide & Enable Sync fail with received federated shares
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce
Setup two machines with e.g.
env OCIS_DNSNAME=cat-7rc3-DATE OCIS_VERSION=v7.0.0-rc.3 ./deploy_ocis_bare_metal.sh
env OCIS_DNSNAME=dog-7rc3-DATE OCIS_VERSION=v7.0.0-rc.3 ./deploy_ocis_bare_metal.sh
mutually register the machines in their ocmproviders.json; service ocis restart
Alice at dog invites bob at cat, bob accepts, alice shares a folder with bob.
Bob sees the folder in shares -> Shared with me.
* There is an 'enable sync' icon. It causes an error. BAD
* There is a 'Hide' icon. It causes an error. BAD
This 'sometimes' worked in older versions, if I am not mistaken??
## Expected behavior
Icon's in the UI should work for federated shares, the same as they do for local shares.
Removing Hide and enable/disable sync for federated shares is not a good option, IMHO.
## Actual behavior

## Additional context
The functions of Hide/Unhide and Enable/Disable Sync are quite related, although their names don't hint at that at all.
Hide/Unhide determines, if the share shows up in the web UI.
Enable/Disable sync determine, if the share shows up in desktop/mobile clients.
I'd suggest to consistently name them
Show/Hide in Web UI.
Show/Hide in sync clients.
@hodyroff fyi.
Contributor guide
Assessment
This issue has not been assessed yet.