mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
6f1a334150
commit
811f8646e0
26 changed files with 304 additions and 306 deletions
|
|
@ -21,7 +21,7 @@
|
|||
```
|
||||
|
||||
| 字段 | 类型 | 必需 | 说明 |
|
||||
|------------------|----------|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| ---------------- | -------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `id` | string | 是 | 小写 id(`a-z0-9`、`-`);被每条路由的 `groupId` 引用。可编辑:重命名分组会同步其路由、分组 webhook secret 与待处理邀请 |
|
||||
| `name` | string | 是 | 人类可读的分组名 |
|
||||
| `members` | object[] | 否 | `{ login, role }` 条目;角色为 `owner`、`admin` 或 `viewer` |
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
每个分组成员拥有三种角色之一。超级管理员(`ADMIN_USER_IDS`)始终绕过这些限制。
|
||||
|
||||
| 角色 | 查看路由/日志 | 编辑路由 | 管理成员与邀请 | 编辑分组设置 |
|
||||
|----------|---------------|----------|----------------|------------------|
|
||||
| -------- | ------------- | -------- | -------------- | ---------------- |
|
||||
| `owner` | ✓ | ✓ | ✓ | ✓(除 `owners`) |
|
||||
| `admin` | ✓ | ✓ | ✗ | ✗ |
|
||||
| `viewer` | ✓(只读) | ✗ | ✗ | ✗ |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue