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

bug: Editing Global Permission results in "String cannot represent a non string value" error #4952

Closed
petercrocker opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
group/frontend Issue related to the frontend (React) type/bug Something isn't working as expected

Comments

@petercrocker
Copy link
Contributor

Component

Frontend UI

Infrahub version

1.0.3

Current Behavior

When modifying a Global Permission to add a role, it fails and get the following error:

String cannot represent a non string value: {value" "1809cb3b-8a08-823f-ceed-c510ccfa027"}

Expected Behavior

No Error! Role gets added to Global Permission.

Steps to Reproduce

  1. Spin up Infrahub
  2. Create a Role called "demo-role"
  3. Create a user called "demo", add to "demo-role"
  4. Go to Global Permissions, Edit "Edit Default Branch" (or any of them, doesn't matter)
  5. Add "demo-role" to Roles

Additional Information

No response

@petercrocker petercrocker added the type/bug Something isn't working as expected label Nov 15, 2024
@petercrocker
Copy link
Contributor Author

SCR-20241115-nvsx

@petercrocker
Copy link
Contributor Author

Not sure if this is related? #4881

@pa-lem pa-lem self-assigned this Nov 19, 2024
@pa-lem pa-lem added the group/frontend Issue related to the frontend (React) label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/frontend Issue related to the frontend (React) type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants