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
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Step 2. Is admin create a public link to this file with the Can upload role using API or UI ?
The Can upload role has to be used for folders, bu not for files.
Step 2. Is admin create a public link to this file with the Can upload role using API or UI ?
The Can upload role has to be used for folders, bu not for files.
Updated the steps to reproduce. Thank you. I tested it with a folder and thought it can be just done the same way with a file, sorry. Everything done via UI, nothing directly via API.
To clarify, the "upload" permission should allow "anonymous" to create new files in the folder, but not overwrite (=edit) existing files.
After "anonymous" has uploaded a file, they should not be able to change what they uploaded (can't edit it or delete it), but should be able to list the files and download files.
To clarify, the "upload" permission should allow "anonymous" to create new files in the folder, but not overwrite (=edit) existing files.
After "anonymous" has uploaded a file, they should not be able to change what they uploaded (can't edit it or delete it), but should be able to list the files and download files.
We have e2e coverage for an app provider. It is not very large, because we wanted to implement only primitive tests as a first step (create and open a docx or odt document).
Maybe we should increase the coverage with e2e?
Yes I think we should. I believe the decision to make only small coverage was because the security related code path should be the same as with webDAV, but that does not look like its true
@kulmann I found the place in a code when we give the write permissions to OnlyOffice but it is not a root issue. Because the permissions statements (view, download and upload) do not contradict that.
If a user can upload then the user can change the file, right?
changed the title [-]Users can write changes through an "upload" public link share[/-][+][PM] Users can write changes through an "upload" public link share[/+]on Jul 8, 2024
Suggestion for the rewording of the roles description.
Assuming that "Only for invited ppl" will be removed
Adds edit to Can upload
Adds delete to Can edit
I'd prefer to be less verbose in the role description (option 2)
Note: In general I'd prefer to remove the Uploader role at all, as it adds little value for the user, but if I understand @micbar correctly this would be expensive due to a migration necessity.
@kulmann is option 2 - less verbose, fine for you?
We had that in the past and changed it to being more verbose because people had difficulties understanding the implications. Now that the whole context is more verbose we may as well go back to less verbose within the dropdown. Fine by me.
Activity
kulmann commentedon Mar 8, 2024
confirmed in both
v5.0.0-rc.5andv4.0.62403905 commentedon Mar 8, 2024
Step 2. Is
admincreate a public link to this file with theCan uploadrole using API or UI ?The
Can uploadrole has to be used for folders, bu not for files.kulmann commentedon Mar 8, 2024
Updated the steps to reproduce. Thank you. I tested it with a folder and thought it can be just done the same way with a file, sorry. Everything done via UI, nothing directly via API.
phil-davis commentedon Mar 11, 2024
To clarify, the "upload" permission should allow "anonymous" to create new files in the folder, but not overwrite (=edit) existing files.
After "anonymous" has uploaded a file, they should not be able to change what they uploaded (can't edit it or delete it), but should be able to list the files and download files.
Correct?
individual-it commentedon Mar 11, 2024
What API is OnlyOffice using for that? I'm surprised the API tests did not catch it
micbar commentedon Mar 11, 2024
Wopi
kulmann commentedon Mar 11, 2024
Correct, thank you!
v-scharf commentedon Mar 11, 2024
We have e2e coverage for an app provider. It is not very large, because we wanted to implement only primitive tests as a first step (create and open a
docxorodtdocument).Maybe we should increase the coverage with e2e?
individual-it commentedon Mar 11, 2024
Yes I think we should. I believe the decision to make only small coverage was because the security related code path should be the same as with webDAV, but that does not look like its true
2403905 commentedon Mar 11, 2024
@kulmann I found the place in a code when we give the write permissions to OnlyOffice but it is not a root issue. Because the permissions statements (view, download and upload) do not contradict that.
If a user can upload then the user can change the file, right?
2403905 commentedon Mar 11, 2024
@micbar @kulmann Is the
uploadpermission redundant in this case?kulmann commentedon Mar 11, 2024
No... @phil-davis interpretation is what we want: The user can upload files, but not overwrite existing files.
23 remaining items
tbsbdr commentedon Jul 8, 2024
@tbsbdr adjust wording for the role
[-]Users can write changes through an "upload" public link share[/-][+][PM] Users can write changes through an "upload" public link share[/+]tbsbdr commentedon Jul 31, 2024
Suggestion for the rewording of the roles description.
edittoCan uploaddeletetoCan edit@kulmann is option 2 - less verbose, fine for you?
General overview
tbsbdr commentedon Aug 2, 2024
@kulmann whats your opinion - go or no? 👆
kulmann commentedon Aug 2, 2024
We had that in the past and changed it to being more verbose because people had difficulties understanding the implications. Now that the whole context is more verbose we may as well go back to less verbose within the dropdown. Fine by me.
[-][PM] Users can write changes through an "upload" public link share[/-][+]Change wording of Role Descriptions[/+]rhafer commentedon Aug 20, 2024
@kulmann So I guess this would be a web ticket now? On the server side we don't have any descriptive texts for the public link types AFAICS.
kulmann commentedon Aug 21, 2024
Seems like it, yes. Transferred it to web now.