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

added flask admin #331

Closed
wants to merge 2 commits into from
Closed

added flask admin #331

wants to merge 2 commits into from

Conversation

rooshs481
Copy link
Collaborator

flask admin for Resource, Category and Language models.

@rooshs481
Copy link
Collaborator Author

localhost:5000/admin

@aaron-junot aaron-junot self-requested a review June 22, 2020 20:18
Copy link
Member

@aaron-junot aaron-junot left a comment

Choose a reason for hiding this comment

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

This is looking good so far, but it needs to be behind authentication. Feel free to pull in Flask Security and add users and all that, or else we need to make it an authenticated route and introduce the idea of "admin" API users. I don't want just anyone to get access to flask admin, I want it to be a select set of users that are assigned through a people process.

If you go the flask security route, you can take some inspiration from this example https://github.com/sasaporta/flask-security-admin-example

@aaron-junot aaron-junot changed the base branch from master to main July 4, 2020 18:46
@aaron-junot
Copy link
Member

Closing in favor of #403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants