Skip to content

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

Open
vos-keuco opened this issue May 9, 2025 · 2 comments
Open

Comments

@vos-keuco
Copy link

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.

Copy link

github-actions bot commented May 9, 2025

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings.
I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient. It helps when you stick around to answer follow up questions I may have,
as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report
and the issue cannot be solved without it, I will have to close the issue after a while.
Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way,
I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already.
You can find donation options at https://floccus.org/donate/. Thank you!

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,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue!
Cheers 💙

@marcelklehr
Copy link
Member

Hello @vos-keuco
Thank you for taking the time to give feedback via opening this issue. I think this is a good idea!

@github-project-automation github-project-automation bot moved this to Backlog in Floccus May 9, 2025
@marcelklehr marcelklehr moved this from Backlog to To Do: Features in Floccus May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do: Features
Development

No branches or pull requests

2 participants