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

Create "Access Denied" Landing Page #1115

Closed
4 tasks
ecurrencyhodler opened this issue Dec 15, 2023 · 0 comments · Fixed by #1162
Closed
4 tasks

Create "Access Denied" Landing Page #1115

ecurrencyhodler opened this issue Dec 15, 2023 · 0 comments · Fixed by #1162
Assignees

Comments

@ecurrencyhodler
Copy link
Contributor

ecurrencyhodler commented Dec 15, 2023

Context

We will restrict access to the admin page to a select # of users as specified here.

When someone logs into the website, we will check whether or not they're an admin. Their status as admin or not is stored in the local storage. This is a field called "superadmin: T/F".

If it is false and someone goes to this url https://community.sphinx.chat/admin, they will see the page below.

Create the landing page according to the figma requirements. We want this to be pixel perfect.

For mobile view, just make sure all elements are viewable in the desktop design provided below.

Design

Here's the figma.
Access Denied

Acceptance Criteria

  • I've tested on Chrome
  • I've tested on mobile view
  • I've submitted a screenshot or recording in my pr
  • I've created a component test that tests image shows, that text shows, and button shows. Here is an example component test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants