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

Automatically accept federated incoming shared files/folders invites/notifications #27653

Closed
avatar-lavventura opened this issue Apr 18, 2017 · 3 comments · Fixed by #33980
Closed

Comments

@avatar-lavventura
Copy link

avatar-lavventura commented Apr 18, 2017

owncloud :

Sharing files across ownCloud servers is as easy as sending an email
from a Gmail address to a Yahoo account! Instead of an email address,
you use a Federated Cloud ID.

In order to share a file/folder, enter the Federated Cloud ID in the
'share' dialog. A notification will pop up on the ownCloud server of
the recipient.

For example userA shares a folder to userB, userB sees a notification message. When userB accepts the shared folder, he/she could see shared folder under his files.

Example of notification:
You received as a remote share from John John
(Decline) (Accept).
enter image description here

[Q1] Accepting shared folders force user to use graphical user interface to accept the shared file/folder. Is there any way to accept it without using gui and using script or curl? I just would like to make this operation automised independent from user's act on the gui. If this is possible, also how could I unshare a folder with a script, again instead of using gui?

enter image description here

[Q2] Could a user accept automatically any file shared with him?

Thank you for your valuable time and help.

@PVince81
Copy link
Contributor

Automatically accepting could pose a security risk.

It might be acceptable to allow auto-accepting when shares come from trusted federated instances, the goal being to make sharing as seamless as user shares.

@pmaier1 thoughts ?

@PVince81
Copy link
Contributor

Estimate 2md

  • add new checkbox option to auto-accept federated shares
  • if option is set and a federated share is incoming, mark it automatically as accept
  • if the other option "automatically pair with server" is set (insecure), never automatically accept a federated share (the option must be greyed out and considered as false regardless)

@PVince81 PVince81 changed the title owncloud: Automatically accept any shared files/folders invites/notifications owncloud: Automatically accept federated incoming shared files/folders invites/notifications Apr 11, 2018
@PVince81 PVince81 changed the title owncloud: Automatically accept federated incoming shared files/folders invites/notifications Automatically accept federated incoming shared files/folders invites/notifications Apr 11, 2018
@VicDeo VicDeo self-assigned this Apr 11, 2018
@felixboehm felixboehm modified the milestones: backlog, development Apr 19, 2018
@felixboehm felixboehm added the p3-medium Normal priority label Apr 19, 2018
@pmaier1
Copy link
Contributor

pmaier1 commented Apr 20, 2018

add new checkbox option to auto-accept federated shares

Yep, right next to the auto-accept regular shares checkbox.

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

Successfully merging a pull request may close this issue.

6 participants