|
@@ -27,7 +27,7 @@ The `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.
|
|
|
|
|
|
-## The authentication groups
|
|
|
+## Authentication groups
|
|
|
There are four authentication groups with the following privileges:
|
|
|
- 150: `GET 150`, `GET Admin` and `POST 150`.
|
|
|
- Admin: `GET 150`, `GET Admin`, `POST 150`, `POST Admin` and `UPDATE`.
|
|
@@ -60,13 +60,13 @@ UID username
|
|
|
Authentication for read/write is based upon the access control list. To update ACL after _every_ changes in the `auth` folder, use `lcmlog-server-utils -u`.
|
|
|
|
|
|
## Manage the environment
|
|
|
-You can lookup authorizations using `lcmlog-server-utils -l`.
|
|
|
+- You can lookup authorizations using `lcmlog-server-utils -l`.
|
|
|
|
|
|
-You can change authorizations by editing files in `auth` folder and then using `lcmlog-server-utils -u` to update ACL.
|
|
|
+- 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 `auth/auth.toml` file:
|
|
|
-```
|
|
|
-["example-group"]
|
|
|
-auth=["priv-1","priv-2",...]
|
|
|
-```
|
|
|
-The adviable privileges are: `GET 150`, `GET Admin`, `POST 150`, `POST Admin` and `UPDATE`. You don't need to do run any command.
|
|
|
+- You can change the default privileges of an authentication groups by editing the `auth/auth.toml` file:
|
|
|
+ ```
|
|
|
+ ["example-group"]
|
|
|
+ auth=["priv-1","priv-2",...]
|
|
|
+ ```
|
|
|
+ The adviable privileges are: `GET 150`, `GET Admin`, `POST 150`, `POST Admin` and `UPDATE`. You don't need to do run any command.
|