This file defines authorization system concepts.
If a client use a password defined in the server with AUTH
, this client have all permissions of the password.
- Server can have up to
2^6-1
passwords.
- Password deriving algorithm is HKDF SHA384.
- The length of derived passwords is 48.
P_READ
, read a value from database, not included data type and data existenceP_WRITE
, write databaseP_CLIENT
, manage clients, allowed operations: kill, lock, disconnectP_CONFIG
, manage configuration, allowed operations: change config values, read config valuesP_AUTH
, manage authorization, allowed operations: add permissions to a password (allowed for permissions held), remove a password, create a passwordP_SERVER
, manage server, allowed operations: close the server, save the database file
If there is no database file or there is no password in the server, all clients have all permissions.