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

feat: display login from rebac admin pages #1833

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

huwshimi
Copy link
Contributor

Done

  • Display the login screen when receiving 401 responses.

QA

  • Log in an go to one of the permissions pages.
  • Open the dashboard in another tab and log out.
  • In the first tab click on a different permissions page.
  • The login button should get displayed.

Details

https://warthogs.atlassian.net/browse/WD-18187

@webteam-app
Copy link

@huwshimi
Copy link
Contributor Author

Requires #1831 to merge first.

@huwshimi huwshimi force-pushed the rebac-display-login branch from b87d370 to 39a35c1 Compare January 22, 2025 22:19
@huwshimi huwshimi marked this pull request as ready for review January 22, 2025 22:19
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.04%. Comparing base (feeebaa) to head (2a3f3be).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1833      +/-   ##
==========================================
- Coverage   99.26%   98.04%   -1.22%     
==========================================
  Files         378      199     -179     
  Lines       42504    14713   -27791     
  Branches     5149     2720    -2429     
==========================================
- Hits        42190    14426   -27764     
+ Misses        314      287      -27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@huwshimi huwshimi force-pushed the rebac-display-login branch from 39a35c1 to 9700ab8 Compare January 22, 2025 22:37
Copy link
Contributor

@Ninfa-Jeon Ninfa-Jeon left a comment

Choose a reason for hiding this comment

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

Minor changes required, if possible

@huwshimi huwshimi force-pushed the rebac-display-login branch from 9700ab8 to 34e430e Compare January 23, 2025 04:10
Copy link
Contributor

@Ninfa-Jeon Ninfa-Jeon left a comment

Choose a reason for hiding this comment

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

Looks good to me

@huwshimi huwshimi merged commit d5a3303 into canonical:main Jan 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants