fix: Everybody can archive their user

Open
#829 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
authorization

Research direction

The payload names no files, so start by finding the user archive action and the button that triggers it in the repository. Check whether that action verifies the caller's permissions, and whether the button is shown to users without them. Before changing anything, get a maintainer to confirm whether self-archiving is intended. Done means the archive action and its button are restricted as the maintainers decide.

Written by the indexing model from the issue text.

Description

bug

All users can archive their own user, is this intentional? At least everybody can see the button to do so.

Dominant language
TypeScript
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vevcom/project-next

All issues in vevcom/project-next

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.