link on activity to attached file is directing the user to a "forbidden" page
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Describe the bug
The problem is that when a user receives a notification of a new attached file to a card on the activity app from nextcloud, and clicks on the link to the file, the user is redirect to a "forbidden"
To Reproduce
Steps to reproduce the behavior:
- Login as an user on your deck
- Create a card and attach a file
- check on a second user the notifications, or the activity app
- click on the link to see the attach
Expected behavior
I expect the file to open, it works when i open the card, check the attached files and open the file. (the link is different in notifications it says: /deck/cards/XXX/attachment/YYY and on the card itself on the attachments tab it redirect to: "/f/ZZZZ"
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
nextcloud 25.0.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by creating a card with an attachment, opening the notification or activity link as a second user, and comparing it with the attachment-tab link. Start by tracing the notification URL /deck/cards/XXX/attachment/YYY against the working /f/ZZZZ URL. Done means the notification link opens the attached file instead of a forbidden page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100