tomjon / piSpecMon

Raspberry Pi scanner controller
GNU General Public License v2.0
1 stars 0 forks source link

User admin and user privileges #13

Closed tomjon closed 8 years ago

tomjon commented 8 years ago

The admin panel allows new users to be added and deletion of users. (The last admin user cannot be removed.) A new user must be associated with contact details. Passwords should not be stored in plain text.

There should be at least three types of user:

  1. Data user - can only view already collected data
  2. Frequency user - can do (1) plus can set frequency ranges and start/stop the monitor
  3. Admin - can do (2) plus can edit radio settings

Only one user of types (2) or (3) can be logged in at one time. If a user of one of these types is already logged in when a new user attempts to log in, then the new user is assigned the (1) privilege and a message informs them that another user is already logged in, and gives their contact details.

tomjon commented 8 years ago

What should users.passwords look like on the disk image? i.e. on a freshly installed Pi, what user should exist?

tomjon commented 8 years ago

How about, if no users exist, the UI gives a message saying the system needs to complete installation (by creating an admin user). There will be a python script on the Pi that is run to create the first user.

tomjon commented 7 years ago

#13 User admin and user privileges (24h) [17.5h]

tomjon commented 7 years ago

#13 User admin and user privileges (24h) [17.5h]