Django have built-in support for managing access to pages and makes it possible to have different access levels of users, please read more are django's homepage

We recommend that you set up at least two groups, admin and flowcell. Where admin can:

  • change/add users and flowcells
  • delete uploaded flowcells.
Name Permission Description
admin
  • auth | user | Can add user
  • auth | user | Can change user
  • auth | user | Can view user
Users belonging to this group have the ability
to add, change and view users
flowcell
  • dataprocessor | flowcell | Can delete flowcell
  • dataprocessor | flowcell | Can view flowcell
  • dataprocessor | samples run data | Can
    delete samples run data
  • dataprocessor | batch run | Can delete
    batch run
Users belonging to this group have the
ability to delete flowcells and the
information bound to the flowcell.

Note that the super user, created by running python3 manage.py createsuperuser, have access to everything and can do whatever he/she wants.