|Alessandro De Gennaro ee6250f9bb Merge branch 'develop' of lcmstaff/lcmlog-server into master||5 months ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|README.md||10 months ago|
|auth.toml||1 year ago|
|lcmlog-server||6 months ago|
|lcmlog-server-utils||10 months ago|
Server side of a tool for reading and writing the lcm staff logs.
lcmlog-server: main script
lcmlog-server-utils: utility script
The first line is always the name of the method and can be only
GET method is used to print all the logs that meet the required criteria.
POST method is used to add a log to the database.
UPDATE method is used to regenerate the internal server database.
It should only be called if a log file is added by hand, or if some of the log files get renamed or corrupted.
It assumes that all the log files are correctly formatted.
There are four authentication groups with the following privileges:
The default directory is
Initialize the environment using
lcmlog-server-utils -i. The structure is:
Edit files in
auth folder for add users in a group. The format of a row is:
Authentication for read/write is based upon the access control list. To update ACL after every changes in the
auth folder, use
You can lookup authorizations using
You can change authorizations by editing files in
auth folder and then using
lcmlog-server-utils -u to update ACL.
You can change the default privileges of an authentication groups by editing the
The available privileges are:
POST Admin and
UPDATE. No further action is needed after editing this file.