Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer User Roles display as role _id instead of role names #15298

Open
1 task done
mikesealey opened this issue Jan 3, 2025 · 2 comments
Open
1 task done

Customer User Roles display as role _id instead of role names #15298

mikesealey opened this issue Jan 3, 2025 · 2 comments
Labels
bb-authentication-rbac Created by Linear-GitHub Sync bug Something isn't working env - production Bug found in production

Comments

@mikesealey
Copy link
Collaborator

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Cloud
    • Tenant ID: miketest1

Describe the bug
When displaying the Users table in a Table Component, any user with a custom role (outside of Basic and Admin)

To Reproduce
Steps to reproduce the behavior:

  1. Create a custom user role
  2. assign a user
  3. add a screen with a table component
  4. set the table component to display the Users table

Expected behavior
Should display the polite, friendly, human-readble name for the role, instead of a hash.

Screenshots
image

image

App Export
(none provided)

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 131.0.6778.205 (Official Build) (arm64)

Additional context
Issue raised by CSE on behalf of customer

@mikesealey mikesealey added the bug Something isn't working label Jan 3, 2025
Copy link

linear bot commented Jan 3, 2025

@andz-bb andz-bb changed the title Customer User Roles display as hashes instead of role names Customer User Roles display as role _id instead of role names Jan 7, 2025
@andz-bb andz-bb added bb-authentication-rbac Created by Linear-GitHub Sync env - production Bug found in production labels Jan 7, 2025 — with Linear
Copy link
Member

Unlikely to be a simple bug fix - requires a fairly large piece of work to restructure how custom roles are displayed and stored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-authentication-rbac Created by Linear-GitHub Sync bug Something isn't working env - production Bug found in production
Projects
None yet
Development

No branches or pull requests

3 participants