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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰fix: check if user has the access permission to the env #450

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

cosmos-explorer
Copy link
Contributor

Fix for two senarios:

  • A user first login on a device, he gets access to the first environment even if he has no access permission to it
  • A user already logged in to a device and relog in to it, he gets access to the previsou environment even the admin removed his permission

Expected result:

  • For the first senario, the user would get access to the first environment to which he has access
  • For the second senario, the user would get access to another environment to which he has access
    If environment available, a message would be displayed as:
    image

@cosmos-explorer cosmos-explorer self-assigned this Jul 13, 2023
@cosmos-explorer cosmos-explorer added bug Something isn't working ui labels Jul 13, 2023
Copy link
Contributor

@apo-j apo-j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@apo-j apo-j merged commit a071585 into main Jul 13, 2023
1 check passed
@apo-j apo-j deleted the fix/check-accsss-env-permission branch July 13, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants