OpenFn / OpenFn/lightning

Show read-only view to non-admins in Project Settings section

Open
#1,081 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When I access a project as an editor or below, I can navigate to certain pages in Project Settings but don't know why there's nothing there or get unhelpful UIs. Three changes need to be made:

  1. Use the same greyed-out style (and the mouseover pointer style!) as is found on Project name for Project description. (Image 1)
  2. Show the project security settings but prevent editing on "Security" (Images 2 and 3.)
  3. Show the github sync settings but prevent editing on "Sync to Github" (Images 3 and 4.)

Image 1

image

Image 2 (this is unfriendly!)

image

Image 3 (show these but make them disabled)

image

Image 4 (this is unfriendly!)

image

Image 5 (show these but make them disabled)

image

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 locating the Project Settings pages and the existing Project name read-only styling. Compare the Security and Sync to Github views for editor-level access, then verify that project description, security, and GitHub sync settings are visible but non-editable, with the requested disabled styling and pointer behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authorization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.