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
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:
Editing – default
Read-only
Upload-only (no reading)
Read-only with upload
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?
Reacted by Jee, John Molakvoæ, Jens Willmer, Arman Sydikov, Lukas Müller and Jan Philipp Bittner
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
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.
@skjnldsv why shouls this be a duplicate of #8479 (comment)?
There is nothing written about "filedrop and seeing already uploaded files" at the same time....
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.
public const PERMISSION_CREATE = 4;
public const PERMISSION_READ = 1;
public const PERMISSION_UPDATE = 2;
public const PERMISSION_DELETE = 8;
public const PERMISSION_SHARE = 16;
public const PERMISSION_ALL = 31;
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.
Then set the column "permissions" for the row to the persmission you calculated in the step before.
public const PERMISSION_CREATE = 4;
public const PERMISSION_READ = 1;
public const PERMISSION_UPDATE = 2;
public const PERMISSION_DELETE = 8;
public const PERMISSION_SHARE = 16;
public const PERMISSION_ALL = 31;
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.
Then set the column "permissions" for the row to the persmission you calculated in the step before.
Hope this helps.
how fluent, user-friendly is this solution for generic issue noted 5 or more years ago.
disappointed 1 day after installation by this too
... 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.
This could be overriden by commenting a line after "normalize to correct public upload permissions" comment in apps/files_sharing/lib/Controller/ShareAPIController.php @~1080 line
someone plz do something for this to be fixed+released <3
could possibly mess with 955635c
É 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.
Activity
blizzz commentedon Sep 25, 2017
iirc upload requires write. @nextcloud/sharing
rullzer commentedon Sep 25, 2017
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.
jancborchardt commentedon Sep 25, 2017
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?
rullzer commentedon Sep 25, 2017
@jancborchardt your solution currently won't work as we don't have multiple link shares as an option.
pixelipo commentedon Oct 19, 2017
What about simply having 3 independent (checkbox) items:
Schmuuu commentedon Apr 30, 2018
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
jeyca commentedon Jul 16, 2018
I wonder why this hasn't already been in the first place, kind of this has been established already decades ago in linux filesystems.
billetj commentedon Jul 19, 2018
Does anyone know if something has been done for that ?
jwillmer commentedon Jul 19, 2018
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.
11 remaining items
huuub commentedon Apr 5, 2020
Giving nextcloud a serious chance, pretty disappointed 1 day after installation that this is not possible. Really weird
skjnldsv commentedon Apr 5, 2020
Ah no, still a duplicate of #8479 (comment)
szaimen commentedon Apr 5, 2020
@skjnldsv why shouls this be a duplicate of #8479 (comment)?
There is nothing written about "filedrop and seeing already uploaded files" at the same time....
szaimen commentedon Apr 5, 2020
This option here is about files drop (can add and list files but not edit them)
skjnldsv commentedon Apr 5, 2020
Yes, this is just about wording here.
The underlying issues is the available permissions on link shares.
This is covered by #8479
gloomytree commentedon Aug 12, 2020
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.
jee-r commentedon Aug 15, 2020
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.
marvinjuette commentedon Oct 13, 2020
I like the options you get offered when sharing internally. Why don't use them for public link sharing?
JanKerbl commentedon Dec 10, 2020
Is there a guide how to do this?
muellerlukas commentedon Dec 12, 2020
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.
Then set the column "permissions" for the row to the persmission you calculated in the step before.
Hope this helps.
VChernenkoRT commentedon Apr 10, 2021
how fluent, user-friendly is this solution for generic issue noted 5 or more years ago.
disappointed 1 day after installation by this too
... 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 =(
VChernenkoRT commentedon Apr 10, 2021
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.
This could be overriden by commenting a line after "normalize to correct public upload permissions" comment in apps/files_sharing/lib/Controller/ShareAPIController.php @~1080 line
someone plz do something for this to be fixed+released <3
could possibly mess with 955635c
Ashu11-A commentedon Jan 13, 2022
É 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.