Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
doc: 添加 管理面板 的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jul 21, 2024
1 parent b8c551a commit be0ea40
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
Binary file added docs/assets/usage_campux_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/usage_campux_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/usage_campux_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/usage_campux_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 22 additions & 2 deletions docs/usage/campux.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,26 @@

## 添加管理员

管理员先去找 Bot 注册账号,然后在MongoDB数据库中`account`集合找到对应的用户,将 `user_group` 字段改为 `admin`
系统部署后,第一个管理员先去找 Bot 注册账号,然后在MongoDB数据库中`account`集合找到对应的用户,将 `user_group` 字段改为 `admin`

<img src="assets/usage_campux_01.png" alt="添加管理员" width="50%">
<img src="assets/usage_campux_01.png" alt="添加管理员" width="50%">

刷新之后,管理员可以在 `管理` 页面设置其他账户为管理员。

<img src="assets/usage_campux_02.png" alt="查找账户" width="50%">

点击账号卡片上的`普通用户`标签,选择新的用户组,点击`保存`

<img src="assets/usage_campux_03.png" alt="设置管理员" width="50%">

> 系统内有三种身份组:`admin``member``user``admin`可以管理所有内容,`member`可以审核稿件,`user`只能投稿。
## 封禁用户

同样的按照上方的方法找到用户,点击账号卡片上的`封禁`按钮,输入封禁原因并选择封禁时间,点击`OK`

<img src="assets/usage_campux_04.png" alt="封禁用户" width="50%">

如需在封禁结束之前解封,可以切到`封禁记录`页,点击用户卡片上的`解封`按钮。

<img src="assets/usage_campux_05.png" alt="解封用户" width="50%">

0 comments on commit be0ea40

Please sign in to comment.