Skip to content

When you enable the option of "Enforce password protection", you can't share by link from the desktop  #2774

Closed

Description

@luciamaestro

Expected behavior

You can share by link using password protection

Actual behavior

You can't share by link

captura de pantalla 2015-02-04 a las 9 02 03 am

Steps to reproduce

  1. Enable the option "Enforce password protection" from the admin side
  2. Try to share by link form the desktop

Client configuration

Version 1.8.0-nightly20150204(build 1971)

Operating system: OS X 10.10.1

Activity

  1. rullzer commented on Feb 4, 2015

    @rullzer
    Contributor

    Ah yes I tought of this as well. However I did not yet have time to look into it.
    The issue now is that we have no way of knowing if the server requires this. And we probably won't untill owncloud/core#13692 is merged.

  2. rperezb commented on Feb 4, 2015

    @rperezb
  3. added this to the 1.8 - UI Enhancements milestone on Feb 4, 2015
  4. davivel commented on Feb 4, 2015

    @davivel

    We found the next condition in ownCloud server 7.0.4; the command to create a share

    curl https://<domain>/ocs/v1.php/apps/files_sharing/api/v1/shares -u <user>:<pass> -X POST --data "path=<filepath>&shareType=3"

    results in a response with error code 403 and message "You need to provide a password to create a public link" when the Sharing API is disabled in the server. This is the response expected when password is enforced in the server side (not passed in the curl command), and makes both conditions indistinguishable.

    In OC version 8.0 this problem does not exist. I don't know if the fix will be included in OC 7.0.5. @schiesbn , @PVince81 , is this familiar for any of you?

    EDIT: probably same problem that in owncloud/android#440

  5. self-assigned this
    on Feb 5, 2015
  6. dragotin commented on Feb 5, 2015

    @dragotin
    Contributor

    I added some comments to owncloud/core#13673 what the capabilities API for the sharing should contain. Based on that we can further refine our GUI.

  7. davivel commented on Feb 5, 2015

    @davivel

    Please, forget my previous comment. Seems this specific problem is already fixed in 7.0.4.2. Thanks,

  8. added
    ReadyToTest
    on Feb 6, 2015
  9. luciamaestro commented on Feb 9, 2015

    @luciamaestro
    Author

    Now the dialog requiere the password but the link doesn't appear although I introduce the password

    screen shot 2015-02-09 at 1 51 22 pm

  10. removed
    ReadyToTest
    on Feb 9, 2015
  11. MTRichards commented on Feb 9, 2015

    @MTRichards

    @carlaschroder We should have a release note that public links with required passwords will not work in 8.0.

  12. rullzer commented on Feb 9, 2015

    @rullzer
    Contributor

    @lmaestro did you press return? Here it all seems to work.

  13. luciamaestro commented on Feb 10, 2015

    @luciamaestro
    Author

    @rullzer yes, it is needed for that reason I have created this issue #2812
    So it works in version 1.8.0-nightly build (2001)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions