OpenFn / OpenFn/lightning

Can't change project user role

Open
#4,874 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Attempting to change a project user's role from the superuser interface results in a crash

Image

https://openfn.sentry.io/issues/6816854448/?environment=prod&project=6446500&query=is%3Aunresolved&referrer=issue-stream

On v2.16.6

Replicate by

  1. Log in as a superuser
  2. Go to https://app.openfn.org/settings/projects
  3. Pick a project
  4. Change a user's role
  5. Watch blue bar of death

This issue is old, but was mistakenly added to another repo: https://github.com/OpenFn/thunderbolt/issues/577

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

Start by reproducing the project user-role change from the superuser project settings at https://app.openfn.org/settings/projects on v2.16.6, then inspect the linked Sentry issue for the crash details. The fix is complete when changing a project user's role succeeds without the blue-bar crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.