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

Fix issue for getting unauthorized for users without tenant association #6914

Merged

Conversation

AfraHussaindeen
Copy link
Contributor

@AfraHussaindeen AfraHussaindeen commented Sep 24, 2024

Purpose

  • $Subject

Related PRs

Flows to be tested

Asgardeo:

  • - Privileged user login to console - should successfully log in.
  • - Invited admin (alex) login to console - should successfully log in.
  • - Invited admin (alex) trying to login to console after privileged user removes the invited admin from the administrator role - should be redirected to the tenant creation page and should be able to create a new organization.
    Note : Copy the console URL of the newly created organization.
  • - Privileged user trying to login to console of the newly created organization by the invited admin (alex) - should be redirected to the unauthorized page.
  • - Consumer user login to console - should display a login failed message on the login page.

Identity Server:

  • - Super admin login to console - should successfully log in.
  • - Invited admin login to console - should successfully log in.
  • - Sub-organization admin login to console - should successfully log in.

Checklist

  • e2e cypress tests locally verified. (for internal contributers)
  • Manual test round performed and verified.
  • UX/UI review done on the final implementation.
  • Documentation provided. (Add links if there are any)
  • Relevant backend changes deployed and verified
  • Unit tests provided. (Add links if there are any)
  • Integration tests provided. (Add links if there are any)

Security checks

pavinduLakshan
pavinduLakshan previously approved these changes Sep 24, 2024
@wso2-jenkins-bot
Copy link
Contributor

🦋 Changeset detected

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.79%. Comparing base (73065cc) to head (0569a5a).
Report is 51 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6914   +/-   ##
=======================================
  Coverage   31.79%   31.79%           
=======================================
  Files          41       41           
  Lines         890      890           
  Branches      215      216    +1     
=======================================
  Hits          283      283           
  Misses        557      557           
  Partials       50       50           
Flag Coverage Δ
@wso2is/core 31.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@AfraHussaindeen AfraHussaindeen merged commit f4a117e into wso2:master Sep 24, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants