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

Make meaningful Inventory Homepage for anonymous users #4365

Closed
5 tasks done
nickumia-reisys opened this issue Jun 22, 2023 · 3 comments
Closed
5 tasks done

Make meaningful Inventory Homepage for anonymous users #4365

nickumia-reisys opened this issue Jun 22, 2023 · 3 comments
Assignees
Labels

Comments

@nickumia-reisys
Copy link
Contributor

nickumia-reisys commented Jun 22, 2023

User Story

In order to give users a better UX, the Data.gov inventory development team wants to implement a custom homepage for anonymous users to know that inventory requires a login for normal use.

Acceptance Criteria

  • GIVEN a user IS NOT authenticated
    WHEN they visit the homepage
    THEN they see the custom login prompt

  • GIVEN a user IS authenticated
    WHEN they visit the homepage
    THEN they are redirected to /dataset

Security Considerations (required)

...

Sketch

  • Implement a blueprint to redirect / to /{route}
    • If user is logged in, show the real page
    • If user is anonymous, show the custom user message
@nickumia-reisys nickumia-reisys self-assigned this Jun 22, 2023
@nickumia-reisys
Copy link
Contributor Author

@hkdctol If you can come up with a heading and a sentence or two to greet and inform users, please post them here.
image

@hkdctol
Copy link
Contributor

hkdctol commented Jun 23, 2023

Heading could be "Authorized Access Only"

Explanatory text could be: Inventory.data.gov is a non-public website used by federal agencies to create and maintain metadata intended for publication on the Data.gov catalog. Agency users who need access to inventory.data.gov should contact the team at [email protected].

nickumia-reisys added a commit to GSA/inventory-app that referenced this issue Jun 23, 2023
@nickumia-reisys
Copy link
Contributor Author

Text is live on dev: https://inventory-dev-datagov.app.cloud.gov/

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🗄 Closed
Development

No branches or pull requests

2 participants