1. 24 Jun, 2016 1 commit
    • Vincent Petry's avatar
      Add explicit delete permission to link shares · 2ca13014
      Vincent Petry authored
      Link shares always allowed deletion, however internally the permissions
      were stored as 7 which lacked delete permissions. This created an
      inconsistency in the Webdav permissions.
      
      This fix makes sure we include delete permissions in the share
      permissions, which now become 15.
      
      In case a client is still passing 7 for legacy reasons, it gets
      converted automatically to 15.
      2ca13014
  2. 13 Jun, 2016 1 commit
  3. 02 May, 2016 2 commits
  4. 30 Apr, 2016 1 commit
  5. 15 Apr, 2016 2 commits
  6. 14 Apr, 2016 1 commit
  7. 12 Apr, 2016 1 commit
  8. 31 Mar, 2016 1 commit
    • Roeland Jago Douma's avatar
      Add sharePermissions webdav property · 8c0ef4c4
      Roeland Jago Douma authored
      This property can be queries by the clients so they know the max
      permissions they can use to share a file with. This will improve the UX.
      
      The oc:permissions proptery is not enough since mountpoints have
      different permissions (delete + move by default).
      
      By making it a new property the clients can just request it. On older
      servers it will just return a 404 for that property (and thus they know
      they have to fall back to their hacky work arounds). But if the property
      is returned the client can show proper info.
      
      * unit tests
      * intergration test
      8c0ef4c4
  9. 10 Mar, 2016 1 commit
  10. 01 Mar, 2016 1 commit
  11. 29 Feb, 2016 1 commit
    • Roeland Jago Douma's avatar
      Check correct permissions when resharing · 8924b0a0
      Roeland Jago Douma authored
      Fixes #22675
      
      Since we only get a share id we do not know the path for the sharer.
      Now if we edit a share we start searching for shares for that user of
      that node. And deduce the permissions that way.
      
      * Intergration test added
      * Fix unit tests
      8924b0a0
  12. 26 Feb, 2016 1 commit
  13. 25 Feb, 2016 1 commit
    • Roeland Jago Douma's avatar
      Do not allow sharing of the root folder · 8213d5df
      Roeland Jago Douma authored
      Sharing of the users root folder should not be allowed as it is very
      weird UX. Also many of our clients have no proper way of displaying
      this.
      
      Added unit test
      
      Also added intergration tests to make sure we won't allow it in the
      future.
      8213d5df
  14. 23 Feb, 2016 1 commit
    • Morris Jobke's avatar
      Add a test that reproduces #20686 · 45e24759
      Morris Jobke authored
      * user with a quota of 0 gets a file shared and can't update this file
        because the wrong quota is used to verify if the update is allowed
      45e24759
  15. 05 Feb, 2016 1 commit
  16. 29 Jan, 2016 1 commit
  17. 21 Jan, 2016 2 commits
  18. 13 Jan, 2016 1 commit
  19. 06 Jan, 2016 1 commit
  20. 10 Dec, 2015 2 commits
  21. 30 Nov, 2015 2 commits
  22. 27 Nov, 2015 1 commit
  23. 26 Nov, 2015 1 commit
  24. 20 Nov, 2015 2 commits
  25. 19 Nov, 2015 4 commits
  26. 12 Nov, 2015 1 commit
  27. 11 Nov, 2015 2 commits
  28. 10 Nov, 2015 1 commit
  29. 06 Nov, 2015 1 commit
  30. 05 Nov, 2015 1 commit