-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EREGCSC-2499 -- Enable subject lookup for non-logged in users (#1167)
* feat: remove IsAuthenticatedMixin from PolicyRepo django view * feat: disable doc type switcher and check Public if unauthenticated * feat: add navigation guard to remove type query param if unauth * feat: hide internal resource count in subj TOC if unAuth * chore: restrict nav guard to policy-repository * chore: tweak pluralization of resource number label in subject TOC * feat: never cache content-search API responses on policy repository * chore: remove unused import * feat: change content-search response behavior if unAuth internal req * feat: correct logic for response from content-search to unAuth user * test: update content_search test_search tests * test: remove space from string to assert against * feat: add login banner to policy repo sidebar * test: add e2e test coverage when not logged in * refactor: convert confusing nested ternary to if/else blocks * test: a11y check for logged out view * test: update logout test * test: assert that type query param is removed from URL when logged out * chore: update comment
- Loading branch information
Showing
13 changed files
with
280 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.