"Auto Accept federated share from trusted server" doesnot works when "automatically add servers after successful share" is enabled
Open
Nobody has claimed this yet.
Type:Bug
- Dominant language
- PHP
- Stars
- 8.8k
- Forks
- 2.1k
- Avg merge
- 20h 7m
- Merged PRs (30d)
- 41
Description
Steps to reproduce
- Create two owncloud servers
serverandserver2 - On server 1
a. Login as admin and go to admin sharing settings page
b. Addserver2url as trusted server
c. Enable "Add server automatically once a federated share was created successfully"
(config parameterautoAddServersof appfederationhas been set to1)
d. Enable "Automatically accept remote shares from trusted servers"
(config parameterauto_accept_trustedof appfederatedfilesharinghas been set toyes) - From server2 upload file
lorem.txtPerform a federated share to a user from server1
Expected behaviour
The file lorem.txt should exist for the user on server1 as the federated share should be accepted automatically.
Actual behaviour
The share is not auto accepted.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with two ownCloud servers using the federation app's autoAddServers setting and the federatedfilesharing app's auto_accept_trusted setting. Start from the admin sharing settings and federated share acceptance flow, then verify that a share from the trusted server is accepted automatically while automatic server addition is enabled. Done means lorem.txt is available to the target user on server1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100