owncloud / owncloud/core

"Auto Accept federated share from trusted server" doesnot works when "automatically add servers after successful share" is enabled

Open
#35,839 3 comments 0 reactions 0 assignees View on GitHub

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
  1. Create two owncloud servers server and server2
  2. On server 1
    a. Login as admin and go to admin sharing settings page
    b. Add server2 url as trusted server
    c. Enable "Add server automatically once a federated share was created successfully"
    (config parameter autoAddServers of app federation has been set to 1)
    d. Enable "Automatically accept remote shares from trusted servers"
    (config parameter auto_accept_trusted of app federatedfilesharing has been set to yes)
  3. From server2 upload file lorem.txt Perform 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.