Skip to content

Add the ability to manage member roles from within the organization page #13914

Closed
@Kira-Pilot

Description

@Kira-Pilot

In our new organization view, we list all org members. We should give Coder operators the ability to manage member roles from within this view so they can permission members with roles they've created (and remove permissions when necessary).

Note that ideally, we would like to de-duplicate user views rather than having multiple. For example, when this ticket is completed we will have user views for

  1. all users in a deployment
  2. all users in an org
  3. all users in a group
    We will revisit design and explore consolidating views after orgs is in experimental.

Requirements

  • Give users the ability to add custom roles for org members in to /organizations/[orgSlug]/members which is already scaffolded and indicate success or failure with a toast
  • Give users the ability to remove custom roles for org members in to /organizations/[orgSlug]/members which is already scaffolded and indicate success or failure with a toast
  • For prior art, look at our existing user table functionality
    Screenshot 2024-07-16 at 4 58 01 PM
  • Ensure only org admins, site wide user admins, and owners can add and remove roles for org members
  • Add Jest tests for basic functionality
  • Add storybooks
  • Create a separate issue to encapsulate the work required to consolidate our three user views so that we can get started on this consideration after orgs is available as an experiment (and make sure to add this to the milestone!)

Metadata

Metadata

Assignees

Labels

enterpriseEnterprise-license / premium functionalitysiteArea: frontend dashboard

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions