Skip to content

RBAC error when viewing all users' workspaces #15114

@dannykopping

Description

@dannykopping

Given:

  • an org
  • a group with a member assigned (with only a "Member" role)
  • a role with all permissions afforded and assigned to the member
  • a template owned by an org
  • a workspace using the org's template

When attempting to view all workspaces in an org as the above member, I encounter this error:
Image

This stems from:

users, err := api.Database.GetUsersByIDs(ctx, userIDs)
if err != nil {
return workspaceBuildsData{}, xerrors.Errorf("get users: %w", err)
}

Metadata

Metadata

Assignees

Labels

customer-reportedBugs reported by enterprise customers. Only humans may set this.s1Bugs that break core workflows. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy