Admin message

Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.

Allow setting OpenVPN client credentials
Add a way to set/update/delete OpenVPN client credentials from reForis. ## UI Based on the discussion, I would propose something similar to how we are handling DHCP static leases. I.e. something like following wireframes: <details><summary>Click to expand</summary> ![reforis-openvpn-client-instances](/uploads/806d626cbb2b5a98f9e6ee9dc178abe4/reforis-openvpn-client-instances.png) With following modal: ![reforis-openvpn-client-credentials-modal](/uploads/ecb637a2dedbcfd1ad66a7ad1fb03219/reforis-openvpn-client-credentials-modal.png) </details> The same modal could be also used for adding new VPN client configuration, but I am not sure how to make the UI of "upload config and optionally set the client credentials". Feel free to change the design to be aligned with reForis style ;-) ## JSON messages Changes in request sent from reforis. ### Adding new client #### Before ``` { "config": {"type": "string"} } ``` #### New ```json { "config": {"type": "string"}, "credentials": { <-- this is optional attribute "username": {"type": "string"}, "password": {"type": "string"} } } ``` ### Set/Update client #### Before ```json { "id": {"$ref": "#/definitions/client_id"}, "enabled": {"type": "boolean"} } ``` #### New ```json { "id": {"$ref": "#/definitions/client_id"}, "enabled": "type": "boolean"}, "credentials": { <-- this is optional attribute "username": {"type": "string"}, "password": {"type": "string"} } } ``` --- Depends on: turris/foris-controller/foris-controller-openvpn_client-module#5
issue