-
-
Notifications
You must be signed in to change notification settings - Fork 260
Linkwarden sync failed when trying to update an read only collection #1952
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
Comments
Hello 👋 Thank you for taking the time to open this issue with floccus. I know it's frustrating when software One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, Thank you for reading through this primer. I look forward to working with you on this issue! |
Hello @vos-keuco |
Describe the feature you'd like to request
This is more of an usability enhancement then a bug I guess, but I was testing the Linkwarden sync with multiple users today and if a user only has read only (viewer) access to a collection the sync works great, but if you try to create or edit links in the browser the sync will obviously fail.
Manually using the "pull down" profile button will reset the synced folder in the browser and the sync is working again.
Describe the solution you'd like
Maybe it's possible to at least show a better error message when trying to edit a read only collection as I think it's not easily possible to actually prevent the user from making changes to the bookmark folder in the browser or is there a better way?
I checked the Linkwarden API and when creating a link without permission the response is "Collection is not accessible.". Maybe you can make use of the collection member info from the API, e.g. "canCreate": false, "canUpdate": false, "canDelete": false before trying to update the collection.
Describe alternatives you've considered
I think it may not always be clear to the actual user why the sync failed as you can even create a Linkwarden collection with full access and a sub-collection has read only access only.
The text was updated successfully, but these errors were encountered: