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

Add admin route, cleanup react routing, and add redirect #113

Merged
merged 7 commits into from
Jun 24, 2021
Merged

Add admin route, cleanup react routing, and add redirect #113

merged 7 commits into from
Jun 24, 2021

Conversation

drewbutlerbb4
Copy link
Contributor

This PR adds admin routes which are only accessible by admin users. If the user is not logged in they are re-routed to the login page upon trying to access these routes.

Related to another PR: #84

@mlx-bot mlx-bot requested review from Tomcli and yhwang June 23, 2021 22:51
@mlx-bot
Copy link
Collaborator

mlx-bot commented Jun 23, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: drewbutlerbb4

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yhwang
Copy link
Member

yhwang commented Jun 24, 2021

nice! looks good to me

@ckadner
Copy link
Member

ckadner commented Jun 24, 2021

/lgtm

@mlx-bot mlx-bot added the lgtm label Jun 24, 2021
@mlx-bot mlx-bot merged commit f7aa911 into machine-learning-exchange:main Jun 24, 2021
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.

4 participants