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
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.
At first I was confused why he would allow the deletion of files via a public link, but when I checked, I saw that there are not the same options for public sharing like for internal sharing.
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
What about simply having 3 independent (checkbox) items:
view (read) upload edit
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).
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.
@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. :)
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).
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.
@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
Fun fact: It's already possible wehen 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 :)
Changing permission value from 15 to 5 manually in the database did the trick.
Duplicate of https://github.com/nextcloud/server/issues/8479#issuecomment-368878425
Duplicate of #8479 (comment)
this is not a duplicate
this issue is about having the option to upload + read-only
and if i understand it correctly the referenced issue does not solve this. as pointed out before this is only a gui issue.
@najtin you are right!
@skjnldsv please reopen the issue :)
Giving nextcloud a serious chance, pretty disappointed 1 day after installation that this is not possible. Really weird
Ah no, still a duplicate of https://github.com/nextcloud/server/issues/8479#issuecomment-368878425
@skjnldsv why shouls this be a duplicate of https://github.com/nextcloud/server/issues/8479#issuecomment-368878425?
There is nothing written about "filedrop and seeing already uploaded files" at the same time....
This option here is about files drop (can add and list files but not edit them)
There is nothing written about "filedrop and seeing already uploaded files" at the same time....
Yes, this is just about wording here.
The underlying issues is the available permissions on link shares.
This is covered by #8479
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
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.
Ah no, still a duplicate of #8479 (comment)
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?
Most helpful comment
What about simply having 3 independent (checkbox) items: