You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discord/discord_ticketbot/dashboard.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ nothing about your bot changes.
22
22
|**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. |
23
23
|**Bot control**| Start, stop, restart and update the bot, plus a live console. |
24
24
|**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). |
26
26
27
27
Every view has its own URL (`/tickets`, `/stats`, `/permissions`, an open ticket
28
28
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.
130
130
|`tickets.reply`| Reply in a ticket as the bot |
131
131
|`stats.view`| See statistics and team performance |
132
132
|`config.view` / `config.edit`| Read / write the config files |
133
+
|`settings.view` / `settings.edit`| View / change the dashboard's accent colour and favicon |
133
134
|`bot.control`| Start, stop, restart, update the bot |
134
135
|`blacklist.manage`| Manage the blacklist |
135
136
|`access.manage`| Manage these permissions |
@@ -162,8 +163,12 @@ them a permission under **Permissions**, or enable `DASHBOARD_PUBLIC_PORTAL`.
162
163
163
164
## Dashboard settings
164
165
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:
167
172
168
173
***Accent colour** for buttons, highlights, the active menu item and focus rings.
169
174
It previews live while you pick and reverts to the built-in green with one click.
0 commit comments