If i want to give a user permissions edit,create,reshare but not delete , is this possible?
JonCSgr opened this issue · 5 comments
Hey again, and happy x-mas .
i have a questions.
If i want to give a user permissions edit,create,reshare but not delete , is this possible?
Also i made some functions like remove all shares from a specific user , how can i contribute to you ?
Can this be done?
Why should this not be possible?
If Nextcloud can do it, then via API this is also possible.
https://help.nextcloud.com/t/how-can-i-disable-delete-for-users-of-a-share/8391/24
I think you can only remove the delete right on shares to users and not to "shares via link"
For the second question, just fork it on github and the submit a merge request with your changes
Sorry my bad i phrase it really badly i apologize .
When i give permissions on a share to a user(or group etc) i can choose 31 for all permissions, 1 for read only and couple of others.
31 means , edit,create,reshare,delete . What if i want to give permissions on a share to edit,create,reshare but not delete.
Can this be done with your library because i can't seem to find it .
Thank you for your time .
You can add the rights with passing multiple rights here.
public SharePermissions(SingleRight... permissions)
You can add the rights with passing multiple rights here.
public SharePermissions(SingleRight... permissions)
Thank you so much :)