Create PublishedData with public Datasets
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, authorization, backend
Research direction
Start at src/published-data/published-data.v4.controller.ts around lines 421-429 and reproduce the UI flow with a public dataset. Trace the permission failure and determine whether the UI should reject datasets without update access or the backend should avoid updating an already-public dataset. Done means the flow no longer returns 403, or invalid selections are prevented before publishing.
Written by the indexing model from the issue text.
Description
Summary
The UI lets you select Datasets you don't own (Public Data) when creating a PublishedData but trying to publish it will actually fail because it tries to set isPublished to true but the user doesn't have permissions for updating this kind of dataset
Steps to Reproduce
Select a public dataset when creating a PublishedData, fill in all required metadata, and try to publish it from the UI.
Current Behaviour
Fails with 403
Expected Behaviour
Option 1: disallow selection of datasets for which you don't have write access (update) in the UI
Option 2: don't fail/update if the dataset is already public
Details
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 37
- Avg merge
- 17h 32m
- Merged PRs (30d)
- 38
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.
More from SciCatProject/backend
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SciCatProject/backend#1998 ·
-
SciCatProject/backend#2961 · 1 reaction · 5 assignees ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
SciCatProject/backend#2923 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
SciCatProject/backend#2901 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
SciCatProject/backend#2900 ·
All issues in SciCatProject/backend
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·