#63 Add simple authentication mechanism

Closed
opened 1 year ago by shimatta · 1 comments
shimatta commented 1 year ago
There is no content yet.
shimatta commented 1 year ago
Owner

Considerations:

  • compile time enabled login/logout commands
  • option to overwrite the login command to e.g. do a challenge response kind of thing
  • The login command asks for username/password - password input without echo
  • Access control added to each command (user ID or minimum user role)
  • as an alternative implement an access mapping to map each command by pointer to a valid user id
  • Add possibility for custom password validation method
  • Add basic default password validation
  • Make usernames/passwords changeable during runtime
  • Only show and autocomplete commands if authenticated to use these commands
  • flush the history buffer on logout
  • [-] Consider adding a certificate based login
  • Add callback function to log logins
  • Find auth structure when adding a command
  • Superuser - users can be made superusers who can access all commands without the need for a permission matrix.
Considerations: - [x] compile time enabled login/logout commands - [x] option to overwrite the login command to e.g. do a challenge response kind of thing - [x] The login command asks for username/password - password input without echo - [x] Access control added to each command (user ID or minimum user role) - [x] as an alternative implement an access mapping to map each command by pointer to a valid user id - [x] Add possibility for custom password validation method - [x] Add basic default password validation - [x] Make usernames/passwords changeable during runtime - [x] Only show and autocomplete commands if authenticated to use these commands - [x] flush the history buffer on logout - [-] Consider adding a certificate based login - [x] Add callback function to log logins - [x] Find auth structure when adding a command - [x] Superuser - users can be made superusers who can access all commands without the need for a permission matrix.
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.