The EuroCMS Customers Module

AuthorversiondateStatus
Imri Palojadraft22-03-2023Contemplating

This module will be used to manager customers for eurobytes.eu. For now. Later on we might add this module as a group for the EuroCMS Webshop plugin.

db structure

The customers db table

customer_iddomain_iduser_idgroup_idcompany_nameunameemailfnamelnamepwordorderuser_lockstatus
1[0-9][0-9][0-9]Example Incjdjohn@doe.euJohnDoe${PWORD}{JSON}1enabled
2[0-9][0-9][0-9]Jane Doe Photographyjdpjane@doe.euJaneDoe${PWORD}{JSON}1enabled

Permissions

The modules builtin permission list

namedescriptioncoc?
customer_addThe ability to add content
customer_removeThe ability to remove content
customer_modifyThe ability to modify content
customer_restoreThe ability to restore content

Order json example

{
   "server": {
      "location": "random",
      "image": "EBS-CX11-Ubuntu-2204-amd64",
      "type": "CX11",
      "networking": {
         "PUBLIC_IPV4": true,
         "PUBLIC_IPV6": true,
         "SSH_KEYS": ""
      },
      "volumes": {
         "name": "volume-1-data",
         "file_system": "ext4"
         "size": "10G"
      },
      "firewalls": [
         "webs"
      ],
      "backups": {
         "enabled": true,
         "type": "incremental",
         "intervals": 24
      }
   },
   "IP": "127.0.0.1",
   "app": "WordPress"
}