Git Product home page Git Product logo

tumorprofil's People

Contributors

mwiesweg avatar veaceslav avatar

Watchers

 avatar  avatar  avatar

tumorprofil's Issues

Groups with different read/write permissions / adaptions to UI

Currently I see the following groups of users:
Read only pathology data, no access to disease history
Read only pathology data, read only disease history
Read and write pathology data, read only history
Read only pathology data, read and write history
Read and write everything.
(pathology data corresponds to the main window, editing happens through "Befunde eingeben" button or through the delegate in the table view. Disease history refers to the window which opens from the "Krankheitsverlauf" button)

  1. First question is where to define the role for a user: Either by adjusting read/write permissions for tables on the db level. Or by setting flags / roles in the tumorusers table.
    Normally, the first option is the natural one, but I am not sure if it is easy to detect the read/write permissions at run time, which would be needed because:

  2. It would be nice to reflect in the UI the available rights.
    no write permission on pathology data -> button is greyed, delegate does not offer editing
    no read permission on disease history -> button is greyed, window does not open
    no write permission on disease history -> widgets are not editable

(At some places there may already be preliminary code in the UI which intends to support such modes)

Allow "master config" for db location

Allow to store a configuration file alongside the binary which gives the database connection parameters except for username / password.
If such a file is found, the relevant settings are used and cannot be changed.
The values read from the file should not be stored locally, instead always read from the file.
Location of the file should be in the same directory as the binary that is run.

Show password dialog at startup

With an available db connection (like from a master config file in the previous issue), start up to go straight to a username / password enter dialog.
Username can be stored locally for convenience. Password shall not be stored for now (must be reentered each time)

Running without db config gives error

Running the application with no MariaDB server (neither on the local machine, nor any configured remote) gives an error (Failed to create tables) and quits.
Should

  1. check if there is a connection at all
  2. if not, go straight to the config dialog

(or how should I enter the config dialog?)

Conversion script cuts PathologyProperties

When running the conversion script, only one single PathologyProperty entry for each Pathology is entered into the database.
I did not check if the other ...Properties tables work correctly; there's usually only a single entry at the moment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.