Skip to content

Commit 1c58a26

Browse files
committed
docs(ticketbot): dashboard settings now use settings.view / settings.edit permissions
1 parent 57ba868 commit 1c58a26

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

discord/discord_ticketbot/dashboard.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ nothing about your bot changes.
2222
| **Configuration** | Edit `config.jsonc`, `snippets.jsonc`, `.env` and the locale files in either a structured **form** view or a raw **file** view (with line numbers and syntax highlighting). Form edits preserve the `//` comments, and a side panel resolves Discord role/channel/category **names** so you never have to hunt for raw IDs. |
2323
| **Bot control** | Start, stop, restart and update the bot, plus a live console. |
2424
| **Permissions** | Decide which roles and users may use the dashboard, and what they may do. |
25-
| **Dashboard settings** | Owner-only. Set the [accent colour and favicon](#dashboard-settings) to brand the dashboard. |
25+
| **Dashboard settings** | Set the [accent colour and favicon](#dashboard-settings) to brand the dashboard. Gated by its own view / edit permissions (the owner always has both). |
2626

2727
Every view has its own URL (`/tickets`, `/stats`, `/permissions`, an open ticket
2828
is `/tickets/123`), so a reload keeps you on the same page and links are
@@ -130,6 +130,7 @@ takes your word for what permissions you have.
130130
| `tickets.reply` | Reply in a ticket as the bot |
131131
| `stats.view` | See statistics and team performance |
132132
| `config.view` / `config.edit` | Read / write the config files |
133+
| `settings.view` / `settings.edit` | View / change the dashboard's accent colour and favicon |
133134
| `bot.control` | Start, stop, restart, update the bot |
134135
| `blacklist.manage` | Manage the blacklist |
135136
| `access.manage` | Manage these permissions |
@@ -162,8 +163,12 @@ them a permission under **Permissions**, or enable `DASHBOARD_PUBLIC_PORTAL`.
162163

163164
## Dashboard settings
164165

165-
A **Dashboard settings** tab (owner-only, like the `.env` editor) lets you brand
166-
the panel for everyone who uses it:
166+
A **Dashboard settings** tab lets you brand the panel for everyone who uses it.
167+
Unlike the `.env` editor it is not owner-only: it has its own `settings.view` and
168+
`settings.edit` permissions, so you can let trusted staff adjust the branding
169+
without handing them the bot's secrets. The owner always holds both. A member with
170+
only `settings.view` sees the current colour and favicon but every control is
171+
disabled. What you can set:
167172

168173
* **Accent colour** for buttons, highlights, the active menu item and focus rings.
169174
It previews live while you pick and reverts to the built-in green with one click.

0 commit comments

Comments
 (0)