-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra args when sharing with link #71
Comments
Facing this problem when trying to update a shared folder with a password and an expiration date |
Ah yes, the password thing... Actually when you change the password it will recreate a new share... see owncloud/core#10671 |
I think the bug was fixed so you should be able to add the call now. Question is still open about what to do with OC <= 8.1, whether to put a workaround there... I'd say ignore for now. |
@SergioBertolinSG did you intend to submit a PR ? |
@PVince81 I didn't have the time sorry, I'll try to prepare one today, we'll need this to test the new password policy feature. |
Expiration date is not available yet in the OCS Sharing API. |
Is there a ticket in core to request it ? |
yes this one owncloud/core#14808 |
PR here #120 |
This is already made: https://github.com/owncloud/pyocclient/blob/master/owncloud/owncloud.py#L782 |
Expiration is missing, that's what my PR adds |
Add
**kwargs
toshare_file_with_link
with the following:perms
for permissions orpublic_upload
password
for the share passwordexpiration
for expirationThe text was updated successfully, but these errors were encountered: