Skip to content

Add permissions system #17

Description

@Dawnkai

The page could use a permission system, which will allow the superadmin to add users to specific roles/groups.
The way I see it, we could have the following groups:

  • Guest, aka no roles (can only view overview page)
  • User (can view overview page and sensor page)
  • AI (can run predictions and change parameters - this prevents hostile users from spamming the server with prediction requests)
  • Admin (can give other users permissions and change system settings)
  • Banned (can only view overview, given to hostile users by admin, overwrites other non-admin roles)

This needs to be integrated between backend API, frontend and database.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendTasks related to backendfrontendTasks related to frontendnon-essentialTasks that are not required, but would be nice to have

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions