OpenFn / OpenFn/lightning

Anyone (except `:owner`) should be able to remove themselves from a project

Open
#3,540 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

If it's not your project, you should be able to leave. (Even if you're a :viewer.) Right now, you can't remove yourself. (See image below.)

Image
  1. Owners cannot be removed and cannot remove themselves.
  2. Owners can remove anyone else.
  3. Admins can remove others and themselves.
  4. Editors and Viewers can only remove themselves.

These are all audited events.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

The issue names no file, test, or entry point. Start by locating the project-membership removal flow and its authorization checks; done means owners remain non-removable, admins can remove themselves or others, and editors and viewers can remove only themselves, with all cases audited.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authorization, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.