Improve error message when trying to access a completed delivery link
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When we send out a delivery link, the recipient may forward that along, thinking it will allow others to access the data.
However, when another user attempts to view the delivery (and logs in), they see the following error (internally from Data Service):
> Delivery Service Error
>
> Reason: Error 403 on /project_transfers/xxxxxx
> Reason:Unauthorized Suggestion:request permission to access this resource
1. The error message should be more informative - describing why the user's action failed.
2. It's also a good idea to update the email text to inform recipients that others won't be able to access their deliveries
Contributor guide
No contributing guide indexed for this repository
Research direction
Trace the delivery-link access flow around the /project_transfers/xxxxxx authorization error, then locate the email text sent with delivery links. Confirm how completed deliveries are handled for a different logged-in user and identify the existing tests or checks for these messages. Done means the access failure explains the cause and the email warns that forwarded deliveries cannot be accessed by others.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100