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 }}
Repository navigation
wrong notification. User is notified even if share doesn't create #6368
Hm, this is a tricky one. The gateway creates user shares in a two step process. First is issues a CreateShare request to the shareprovider and second is issues a AddGrant request to the storage provided.
When a file is locked (e.g. because it is opened in onlyoffice) CreateShare request succeeds and the AddGrant request fails. The ShareCreated event (which results the user notification) is however already fired by the shareprovider after the CreateShare request succeeded 😢
Ideally we would fire the event only after both requests succeeded. This isn't easily possible as the shareprovider (which is sending the event doesn't about the additional AddGrant call). I am still investigating possible solutions ...
IMHO we should really invest time to make sharing and setting the grant of a locked file possible. This would close many Tickets where users are confused.
From a product POV it is also very hard to add more people to an exisiting WebOffice Session. You would need to directly contact all participants and ask them to leave the session 🙈 That is not easy.
We don't change the mtime, tmtime or etag when modifying grants on a file: cs3org/reva#4464 (comment) (we do change the parent tmtime and propagate it).
We can declare oc:permissionsand oc:share-id as unlockable to be RFC compliant: cs3org/reva#4464 (comment)
No objections to allow modifing shares while a file is locked.
Activity
rhafer commentedon May 30, 2023
Hm, this is a tricky one. The gateway creates user shares in a two step process. First is issues a CreateShare request to the shareprovider and second is issues a AddGrant request to the storage provided.
When a file is locked (e.g. because it is opened in onlyoffice) CreateShare request succeeds and the AddGrant request fails. The ShareCreated event (which results the user notification) is however already fired by the shareprovider after the CreateShare request succeeded 😢
Ideally we would fire the event only after both requests succeeded. This isn't easily possible as the shareprovider (which is sending the event doesn't about the additional AddGrant call). I am still investigating possible solutions ...
Revert "idp/proxy: Match users by ID instead of name by default"
micbar commentedon Jul 11, 2023
maybe interesting in the context of the CS3 Apis cs3org/cs3apis#165
micbar commentedon Jul 11, 2023
@tbsbdr Can you qualify? P3 or P2?
tbsbdr commentedon Jul 12, 2023
P3
what happeny if you click on the notification (via the bell)?
v-scharf commentedon Jul 12, 2023
Nothing terrible, no crashes no error message. The user just can't find his resource
Screen.Recording.2023-07-12.at.16.49.28.mov
4 remaining items
2403905 commentedon Jan 15, 2024
@micbar Could we send a notification only if the
userloggot the sequence of two eventsCreateShareandAddGrant?micbar commentedon Jan 16, 2024
Raising prio because of SLAs from Project.
micbar commentedon Jan 16, 2024
@butonic @rhafer @kobergj @aduffeck
IMHO we should really invest time to make sharing and setting the grant of a locked file possible. This would close many Tickets where users are confused.
From a product POV it is also very hard to add more people to an exisiting WebOffice Session. You would need to directly contact all participants and ask them to leave the session 🙈 That is not easy.
micbar commentedon Jan 22, 2024
@dragonchaser and @aduffeck will connect on the Draft PR.
@butonic can you please share your opinion on this?
aduffeck commentedon Jan 22, 2024
draft PR with passing CI: cs3org/reva#4464
butonic commentedon Jan 22, 2024
We don't change the mtime, tmtime or etag when modifying grants on a file: cs3org/reva#4464 (comment) (we do change the parent tmtime and propagate it).
We can declare
oc:permissionsandoc:share-idas unlockable to be RFC compliant: cs3org/reva#4464 (comment)No objections to allow modifing shares while a file is locked.
dragonchaser commentedon Jan 23, 2024
fixed with #8264