-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Share directory Upload + Read only #6620
Comments
iirc upload requires write. @nextcloud/sharing |
Yes upload requires write. But delete and update are separate permissions. I think this is more about how do we show yet another use case to the user. I'm sure @jancborchardt would kill me if we just extend that list with every possible option. |
I mean, it is a good point cause we also have files drop. The current workaround would be to share your own pictures with a read-only link and give the friend a files drop, or fully editable folder link. This would be the options, with the new one in bold:
In this new mode, uploaded files with the same name would automatically need to have a " (2)" appended. We could change it from radio buttons to a dropdown instead … what do @nextcloud/designers think? |
@jancborchardt your solution currently won't work as we don't have multiple link shares as an option. |
What about simply having 3 independent (checkbox) items:
|
I'm glad somebody opened an issue for this already. I haven't noticed this until a user of mine (family member) informed me about an "accident". When he shared photos via a public link to his friends, he wanted to allow his friends to view the photos and upload additional photos. One person who accessed the public link deleted the photos however. To be protected against further accidents, it would be nice if this feature request could be implemented soon. I really like the idea of @pixelipo |
I wonder why this hasn't already been in the first place, kind of this has been established already decades ago in linux filesystems. |
Does anyone know if something has been done for that ? |
I found a tutorial on the internet a couple of months ago of a guy who edited the database in order to get this functionality - can't find the link anymore. Basically there is a table with all shared folders and there permission levels. The permission level is a number and if u sum the number for upload + view permission and set the result for a folder you get a folder that people can upload to and view the uploaded files. I did this for my Nextcloud instance as well and it works without a problem. So this feature contains really not much work. There is basically only the GUI missing to make this wok for all people. For me it is too much of a hassle to setup the development environment only to add this feature and make a pull request - sorry. |
As you can see from the set milestone, it’s currently planned to probably have it in Nextcloud 15 (which is the release after the one we are currently finishing up).
@jwillmer That’s really a bummer, we would be very happy to help you set it up. Just saw you are in Stuttgart – we regularly have hackweeks there and you are very welcome to join us. :) |
It's been more than one year since the last comment, is there any progress on adding this functionality ? |
Fun fact: It's already possible when you set the "permissions"-value in "oc_share", only a option in the GUI is missing. :( Available options can be found in lib/public/Constants.php |
Thank you, that's exactly what I was looking for :) |
Duplicate of #8479 (comment) |
this is not a duplicate |
Giving nextcloud a serious chance, pretty disappointed 1 day after installation that this is not possible. Really weird |
Ah no, still a duplicate of #8479 (comment) |
@skjnldsv why shouls this be a duplicate of #8479 (comment)? |
This option here is about files drop (can add and list files but not edit them) |
Yes, this is just about wording here. |
Came here via https://help.nextcloud.com/t/allow-public-upload-and-show-but-not-delete/2874/22 and this page should be indexed higher by google. Permission 5 is neccessary for a lot of usecases and i hope to see a GUI option in the future. |
I don't understand your reasoning, why you're closing this issue when it's older. If indeed the two issue are similar then the other one is a duplicate of this one. |
I like the options you get offered when sharing internally. Why don't use them for public link sharing? |
Is there a guide how to do this? |
First create a link share, you shoudl get sth like "https://NEXTCLOUDDOMAIN/s/TOKEN". You'll need the token later. In Constants.php you can find the permissions
Just sum the values to "build" your permission. E.g: Create + read -> 4 + 1 -> 5 Then open your database with phpmyadmin or sth, open the table "oc_share" and search for the row where the token-column matches your token. Hope this helps. |
how fluent, user-friendly is this solution for generic issue noted 5 or more years ago. ... I wish I could do it myself by simply editing few lines in apps/files_sharing/ but there is some "build" magic involved between me and the solution =( |
I have changed files_sharing_tab.js* files for PUT /ocs/v2.php/apps/files_sharing/api/v1/shares/10 with permissions: "23" or "7" payload, but server still response with permissions: 31. |
É incrivelmente decepcionante como isso não foi implementado ainda, era pra ter saído no Nextcloud 15? Mas se passaram anos e ainda não foi implementado por pura preguiça. |
Hello,
Would it be possible to add an upload + read-only option for a shared folder.
Use case
This would allow sharing photos (read-only) with a friend who does not have a nextcloud account, but also to upload his own.
Problem with read and write is that my friend can modify or delete files that i have uploaded.
Thank's
The text was updated successfully, but these errors were encountered: