Skip to content

Enable Full Sharing (user/group) from Desktop #3737

Closed

Description

@MTRichards

Desktop Full Sharing
As an ownCloud user, I want to be able to use the ownCloud internal sharing mechanism from Windows explorer so that I can quickly and easily share files with other ownCloud users without using share links.

Acceptance Criteria

  • User should right click on the file and see the current share with menu, and then be able to select a new option “share within ownCloud”
  • Share within ownCloud opens up a new window on the desktop client
  • In this case, the user can enter a group name or a user name (or part of either) and click a button to search for the user or group. Note: this is different than the current web auto search interface. We want to be certain we are not flooding the server API with false starts, so the search now button is important
  • While the API is searching, the desktop window shows a little “searching” icon that shows the system is searching and in progress (@janborchart for specific look and feel)
  • There is a cancel button for this search. However, while one search is running a second cannot be initiated to avoid flooding the server with too many requests
  • When the search returns group or usernames (in the same order as on the server, no change in behavior on the search results) and a user can select from the drop down list
  • At most 40 results are returned. If more results are returned, the dropdown shows the 40 but notifies the user that the user and group search returned too many results, and that the search needs to be narrowed.
  • When a user or group is selected, the standard CRUDS capabilities are lined up.
  • This assumes that the complete desktop share with link option is already implemented, including setting a password, setting a password that meets policy,setting expiration.
  • This also assumes that the “notify user via email” option currently on the server is also implemented on the desktop
  • Should link to the server user and group search issue for 8.2 - dependency
  • Should link to mobile sync design for consistency

@dragotin @danimo

Activity

  1. added this to the milestone on Sep 2, 2015
  2. MTRichards commented on Sep 2, 2015

    @MTRichards
    Author
  3. rullzer commented on Sep 3, 2015

    @rullzer
    Contributor

    Now that the Sharee API is in core I can revive some old code. Cool to finally implement this on the desktop.

    Just to be clear. We want to have this in a different window?
    Not 1 window wit 2 tabs or whatever?

  4. karlitschek commented on Sep 3, 2015

    @karlitschek

    this will be a huge step forward! 👍 :-)

  5. phil-davis commented on Sep 3, 2015

    @phil-davis
    Contributor

    +1 also
    And I will just mention that the group/user sharing dialogs in the client will need to respect the admin server-side settings of sharing restrictions, like:

    • Allow apps to use the Share API
    • Allow resharing
    • Restrict users to only share with users in their groups
    • Exclude groups from sharing

    That will avoid users on the client trying to do something and then the server spitting back a "not allowed" message.

  6. rullzer commented on Sep 3, 2015

    @rullzer
    Contributor

    @phil-davis yes good points!

    • Allow apps to use the Share API

    Well this basically boils down to if sharing is enabled or not. Since we will move to OCS Share API for the webfrontend as well.

    • Allow resharing

    Already available in the capabilities

    • Restrict users to only share with users in their groups

    Availble in the sharee api. Basically it only returns valid suggestions

    • Exclude groups from sharing

    Probably makes sense to get this into the capabilities as well. So if a user can't share the query of capabilities from the server for him/her shows up as sharing is disabled. @DeepDiver1975 does a separate capability make more sense?

  7. MTRichards commented on Sep 3, 2015

    @MTRichards
    Author

    Cross link to Mobile issue so the UI looks similar: owncloud/ios-legacy#425

  8. MTRichards commented on Sep 3, 2015

    @MTRichards
    Author

    @jancborchardt need some design thoughts here.

  9. MTRichards commented on Sep 3, 2015

    @MTRichards
    Author

    And, @phil-davis :

    Allow apps to use the Share API
    Allow resharing
    Restrict users to only share with users in their groups
    Exclude groups from sharing

    Spot on.

  10. self-assigned this
    on Sep 7, 2015
  11. petervcook commented on Sep 23, 2015

    @petervcook

    +1 on Mac as well.

  12. jancborchardt commented on Sep 23, 2015

    @jancborchardt
    Contributor

    Design-wise as said before, please use the server sharing as blueprint. That’s basically the master living mockup of sharing. There can be contextual enhancements, as for example on mobile. But on desktop I see this being pretty much the same as on web.

  13. added
    p2-high
    on Sep 30, 2015
  14. 21 remaining items

  15. jospoortvliet commented on Nov 26, 2015

    @jospoortvliet

    @rullzer ok, cool - I guess then that once the activity API is improved this can be done quite easily.

    About the Sync Protocol tab, it's in the activity page, there are three tabs. One server side activity and one about sync issues. One is named 'Sync Protocol' and I'm not sure what it is for or what it even means. Well, I know what it means but don't know what to expect on that tab.

    And yeah, I figured out why I didn't see the desktop integration, my fault.

    @dragotin sorry for polluting this issue with client feedback.

  16. jancborchardt commented on Nov 27, 2015

    @jancborchardt
    Contributor

    About the Sync Protocol tab, it's in the activity page, there are three tabs. One server side activity and one about sync issues. One is named 'Sync Protocol' and I'm not sure what it is for or what it even means. Well, I know what it means but don't know what to expect on that tab.

    This is exactly why I commented on #4083 (comment) that this new 3-tab-view is too complicated. It’s technical wording and too detailed. We should reopen #1443 and work on a proper solution. cc @MTRichards @dragotin

  17. modified the milestones: , on Nov 27, 2015
  18. removed
    ReadyToTest
    on Nov 27, 2015
  19. modified the milestones: , 2.1.1-current on Jan 7, 2016
  20. MTRichards commented on Jan 8, 2016

    @MTRichards
    Author

    In addition to the incomplete checks above, we also need to implement the sharing logic for when a display name of a user is the same. owncloud/core#20291 has the server side response, we need to reflect that in the desktop.

    Also not sure we do this. If we do, great, otherwise we need parity:

    • Don't show the switch to disable/enable password on a public link if password is mandatory (prevents error message if user tries to disable password)
    • Don't show the switch to disable/enlable expiration date on a public link if mandatory
    • Don't allow the user select dates later than the maximum expiration date set in the server, if mandatory
    • Support federated sharing by including (remote) next to the username as it is done on the web interface. The remote users won't be shown if this is not enable via the capabilities api

    And that closes out this feature set.

  21. rullzer commented on Feb 23, 2016

    @rullzer
    Contributor

    there should be a loading spinner for feedback when adding a new person, in place of where the entry will be (at the bottom of the list)

    I'll add that

    add avatars to the left of the username, just like in the web interface. Same for the suggestion dropdown.

    We can't do this yet since the server did not support it.

  22. rullzer commented on Feb 23, 2016

    @rullzer
    Contributor

    @MTRichards #3737 (comment) that is all in already :)

    I'll fix the final part we can add (the spinner) soonish.

  23. added a commit that references this issue on Mar 8, 2016
    41d38b3
  24. rullzer commented on Mar 8, 2016

    @rullzer
    Contributor

    Avatar issue in #4554
    PR for spinner in #4553

  25. added
    ReadyToTest
    on Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Design & UXReadyToTestp2-high

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions