Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

User/auth management #42

Closed
mjaquiery opened this issue Feb 22, 2023 · 0 comments · Fixed by #52
Closed

User/auth management #42

mjaquiery opened this issue Feb 22, 2023 · 0 comments · Fixed by #52
Labels
backend Python Django/DRF backend frontend TypeScript Web frontend v2.0.0 Required for v2.0.0
Milestone

Comments

@mjaquiery
Copy link
Collaborator

We need to provide API token management (including long-term tokens for scripts)

  • View/create/revoke knox tokens via web frontend
  • Authorise against any token
  • Permission scopes for tokens?
    • Read/Write at a minimum

We should provide basic user management services in the web frontend

  • reset password
  • update email
@mjaquiery mjaquiery added the v2.0.0 Required for v2.0.0 label Feb 22, 2023
@mjaquiery mjaquiery added this to the v2.0.0 milestone Feb 22, 2023
@mjaquiery mjaquiery added backend Python Django/DRF backend frontend TypeScript Web frontend labels Feb 22, 2023
This was referenced Feb 22, 2023
mjaquiery added a commit that referenced this issue Feb 24, 2023
Major update. 

## Key features:
- Moved backend over from Flask to Django
  - Streamlines database interaction
  - Provides a more reliable framework for code
- Converted frontend to TypeScript
  - More robust code
- Separated Harvester code from backend code
  - Harvesters now rely on API endpoints rather than direct database writes
- Updated documentation throughout

## Missing features (todo):
#39 
- Frontend tests
- Cleaning out old frontend files

#40 
- Entity creation logic should be handled by Django Serializers rather than Views
- Harvester ENV stuff no longer handled 
  - Mostly matters for being able to specify a base path; could be done in config/Harvester view
- Updated Entity Relationship Diagram

#38 
- Python API client code
  - Should be automatically generated via swagger codegen API/docker container, perhaps on demand?

#41 
- Migration from old database

#42 
- API token management (including long-term tokens for scripts)
- User management (reset password, update email?)

#43 
- Profiling important things
  - Data upload
  - Data download
This was referenced Feb 24, 2023
@mjaquiery mjaquiery linked a pull request Feb 28, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend Python Django/DRF backend frontend TypeScript Web frontend v2.0.0 Required for v2.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant