maddy-admin/README.md

42 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2024-01-24 20:49:56 +00:00
# Maddy Admin Panel
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
A front-end for [Maddy](https://maddy.email), allowing users to manage their account and administrators to manage the server.
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
<details>
<summary>Screenshots</summary>
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
## Self-Service account management
<img src=".assets/self-service-dark.png" /> <img src=".assets/self-service-light.png" />
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
## Administration
### Aliases
<img src=".assets/aliases.png" />
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
### Users
<img src=".assets/users.png" />
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
### Audit Log
<img src=".assets/audit.png" />
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
</details>
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
## Features
2024-01-16 18:33:45 +00:00
2024-01-24 20:49:56 +00:00
- **Password management** - Users can easily update their account password
- **Aliases** - Users can create and manage their own aliases
- Normal aliases allow the user to freely choose their alias address from a list of domains. An administrator needs to approve the alias before it can be used.
- Temporary aliases are randomly generated and can be created by users without administrator approval. It's like a tempmail service, but cooler!
- **Administration** - Admins can easily perform common tasks
- Creating users, <s>deleting users and resetting their password</s> (todo)
- Creating and deleting aliases for any user
2024-01-16 18:33:45 +00:00
Authentication is handled using the same database that Maddy uses, so users can use the same password to access their email and the Admin Panel.
2024-01-17 19:21:08 +00:00
### notes to add later
```sql
2024-01-22 21:35:01 +00:00
CREATE TABLE aliases (id INTEGER PRIMARY KEY AUTOINCREMENT, address TEXT NOT NULL, alias TEXT NOT NULL, pending INTEGER DEFAULT 0, temporary INTEGER DEFAULT 0);
CREATE TABLE temp_alias_requests (key TEXT PRIMARY KEY, address TEXT NOT NULL, alias TEXT NOT NULL, expires INTEGER NOT NULL);
2024-01-23 20:35:46 +00:00
2024-01-23 21:37:55 +00:00
CREATE TABLE api_keys (id INTEGER PRIMARY KEY AUTOINCREMENT, address TEXT NOT NULL, label TEXT NOT NULL, token TEXT NOT NULL);
2024-01-17 19:21:08 +00:00
```