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

Using the same user on UI and API calls resets the configs #4086

Closed
mwandres-hashgraph opened this issue Aug 27, 2024 · 0 comments
Closed

Using the same user on UI and API calls resets the configs #4086

mwandres-hashgraph opened this issue Aug 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working community

Comments

@mwandres-hashgraph
Copy link

Problem description

When you are logged on the UI and set filters for a given GET request, these filters will overwrite the filter set by API setters - leading to confusing behavior of the GET requests.

Step to reproduce

  1. Open the UI and log on with a given user (lets call it A)
  2. Log on to the Guardian with the same user A via console
  3. Set the filters for the user on the UI to something different than you will request via the API and apply the filters. Leave the UI open.
  4. (Maybe you need to log on again via console as your UI usage rendered the JWT of the user obsolete) Set the filters to something different then you used in step 3 and execute the GET call with them
  5. The result will not be what you expect according to the filters you handed over to the GET request.
  6. Close the browser with the Guardian UI
  7. Repeat step 4. The GET response should now be as expected.

Expected behavior

The actions on the UI should not have any implications on the setters handed over via any API calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

No branches or pull requests

4 participants