You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When you enable the option of "Enforce password protection", you can't share by link from the desktop #2774
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.
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?
Activity
rullzer commentedon Feb 4, 2015
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.
rperezb commentedon Feb 4, 2015
cc @MTRichards related to owncloud/ios-legacy#283
davivel commentedon Feb 4, 2015
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
dragotin commentedon Feb 5, 2015
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.
davivel commentedon Feb 5, 2015
Please, forget my previous comment. Seems this specific problem is already fixed in 7.0.4.2. Thanks,
luciamaestro commentedon Feb 9, 2015
Now the dialog requiere the password but the link doesn't appear although I introduce the password
MTRichards commentedon Feb 9, 2015
@carlaschroder We should have a release note that public links with required passwords will not work in 8.0.
rullzer commentedon Feb 9, 2015
@lmaestro did you press return? Here it all seems to work.
luciamaestro commentedon Feb 10, 2015
@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)