The EuroCMS Customers Module
| Author | version | date | Status |
|---|---|---|---|
| Imri Paloja | draft | 22-03-2023 | Contemplating |
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_id | domain_id | user_id | group_id | company_name | uname | fname | lname | pword | order | user_lock | status | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | [0-9] | [0-9] | [0-9] | Example Inc | jd | john@doe.eu | John | Doe | ${PWORD} | {JSON} | 1 | enabled |
| 2 | [0-9] | [0-9] | [0-9] | Jane Doe Photography | jdp | jane@doe.eu | Jane | Doe | ${PWORD} | {JSON} | 1 | enabled |
Permissions
The modules builtin permission list
| name | description | coc? |
|---|---|---|
| customer_add | The ability to add content | |
| customer_remove | The ability to remove content | |
| customer_modify | The ability to modify content | |
| customer_restore | The 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"
}