developmentseed / developmentseed/osm-teams

Owner cannot manage private org

Open
#336 0 comments 0 reactions 0 assignees View on GitHub
Category: Permissions Priority: High Type: Bug
Dominant language
JavaScript
Stars
29
Forks
4
PR merge metrics
No merged PRs in 30d

Description

If an organization is set as private the UI won't show the list of teams and staff. Steps to replicate:

- Create a private org at /organizations/create
- Visit organization page, it won't show "Staff Members" section
- Edit organization details, set it as public
- Visit organization page, it will show "Staff Members" section

We should look into the permissions middleware and add test coverage for this.

cc @kamicut @batpad

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the permissions middleware used by the organization page and the /organizations/create flow, then reproduce the missing "Staff Members" section for a private organization. Add test coverage for private-organization access and verify that owners can see the teams and staff lists.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.