Skip to content

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

Closed

Description

@avatar-lavventura

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.

Activity

  1. added this to the backlog milestone on Aug 7, 2017
  2. PVince81 commented on Apr 11, 2018

    @PVince81
    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 ?

  3. PVince81 commented on Apr 11, 2018

    @PVince81
    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)
  4. changed the title [-]owncloud: Automatically accept any shared files/folders invites/notifications[/-] [+]owncloud: Automatically accept federated incoming shared files/folders invites/notifications[/+] on Apr 11, 2018
  5. changed the title [-]owncloud: Automatically accept federated incoming shared files/folders invites/notifications[/-] [+]Automatically accept federated incoming shared files/folders invites/notifications[/+] on Apr 11, 2018
  6. self-assigned this
    on Apr 11, 2018
  7. pmaier1 commented on Apr 20, 2018

    @pmaier1
    Contributor

    add new checkbox option to auto-accept federated shares

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

  8. modified the milestones: development, triage on Apr 25, 2018
  9. locked as resolved and limited conversation to collaborators on Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions