Skip to content

Commit bdffbc5

Browse files
heqiWoodii1998yujingzFredzengfafa曾擎禹
authored
release v25.39.0 (#341)
* feat: update catalogue (#286) * Add Translations for Custom Panels and some broken links fix (#288) * feat: add dev script to package.json and update links in documentation - Added a new "dev" script to package.json for easier local development. - Updated links in the device collector and data diagnosis documentation for better navigation. - Ensured consistent formatting in the device collector documentation. * Fix absolute links in cn changelog * create project broken link * add translations * translate message converters * translate topic aliases * translate other docs * fix a couple files that did not translate to english * Add more translations * Fix/broken links (#289) * before fixing the markdown references * fix broken links * New user-case: online-simulation-test (#291) * New user-case: online-simulation-test * new quick-start * resolve the conversation comments * resolve the comments * fix format problem * fix picture * fix problem of picture format * fix a couple formatting and remove some unnecessary words * formatting --------- Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: Yujing Zheng <yujing@coscene.io> * Data Record Solution (#293) Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> * renaming for beterr linuix support * Update embodied intelligence data collection solution documentation and enhance home catalogue with new links * Heterogeneous Robot Data Factory Docs 1.0 (#296) * offical-version1.0 of data collection * Add files via upload * Add files via upload * Add files via upload * Update 5-embodied-intelligence-data-collection-solution.md * fix links --------- Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> Co-authored-by: Yujing Zheng <yujing@coscene.io> * Better Links (#297) * safely upgrade deps * improve device admission htmr anchor * Add temporary en translations * update links * ci * Faster Builds (#298) * update changelog * fix changelog # Conflicts: # src/pages/changelog.md * updated changelog,device,rules (#299) * updated changelog,device,rules * fix link * fix changelog * fix link --------- Co-authored-by: Qi He <heqi37@gmail.com> * enable device and homepage catalogue (#301) * enable device * update catalogue * 新增设备采集器文档中的模板语法使用部分,详细介绍了模板语法的概述、基本语法、支持的变量及时间格式化选项,提升了文档的可读性和实用性。 (#303) * Add simulation translation (#305) * Doc: update device config info (#308) * Release 25.26.0 (#306) * feat: update catalogue (#286) * Add Translations for Custom Panels and some broken links fix (#288) * feat: add dev script to package.json and update links in documentation - Added a new "dev" script to package.json for easier local development. - Updated links in the device collector and data diagnosis documentation for better navigation. - Ensured consistent formatting in the device collector documentation. * Fix absolute links in cn changelog * create project broken link * add translations * translate message converters * translate topic aliases * translate other docs * fix a couple files that did not translate to english * Add more translations * Fix/broken links (#289) * before fixing the markdown references * fix broken links * New user-case: online-simulation-test (#291) * New user-case: online-simulation-test * new quick-start * resolve the conversation comments * resolve the comments * fix format problem * fix picture * fix problem of picture format * fix a couple formatting and remove some unnecessary words * formatting --------- Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: Yujing Zheng <yujing@coscene.io> * Data Record Solution (#293) Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> * renaming for beterr linuix support * Update embodied intelligence data collection solution documentation and enhance home catalogue with new links * Heterogeneous Robot Data Factory Docs 1.0 (#296) * offical-version1.0 of data collection * Add files via upload * Add files via upload * Add files via upload * Update 5-embodied-intelligence-data-collection-solution.md * fix links --------- Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> Co-authored-by: Yujing Zheng <yujing@coscene.io> * Better Links (#297) * safely upgrade deps * improve device admission htmr anchor * Add temporary en translations * update links * ci * Faster Builds (#298) * update changelog * fix changelog # Conflicts: # src/pages/changelog.md * updated changelog,device,rules (#299) * updated changelog,device,rules * fix link * fix changelog * fix link --------- Co-authored-by: Qi He <heqi37@gmail.com> * enable device and homepage catalogue (#301) * enable device * update catalogue * 新增设备采集器文档中的模板语法使用部分,详细介绍了模板语法的概述、基本语法、支持的变量及时间格式化选项,提升了文档的可读性和实用性。 (#303) * Add simulation translation (#305) --------- Co-authored-by: Woodii <33593572+Woodii1998@users.noreply.github.com> Co-authored-by: Fredzengfafa <143169127+Fredzengfafa@users.noreply.github.com> Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> Co-authored-by: Qi He <heqi37@gmail.com> Co-authored-by: Qi He <qi.he@coscene.io> * doc: update device config info --------- Co-authored-by: Yujing Zheng <yujingz@users.noreply.github.com> Co-authored-by: Woodii <33593572+Woodii1998@users.noreply.github.com> Co-authored-by: Fredzengfafa <143169127+Fredzengfafa@users.noreply.github.com> Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> Co-authored-by: Qi He <heqi37@gmail.com> Co-authored-by: Qi He <qi.he@coscene.io> * Feat/project resource (#307) * Feat/add token runtime info (#313) * add titles to terms of services * add info about costoken * remove dup * add view client information hashtag (#315) * colistener collect (#312) * coListener collect * Update 5-device-collect.md * Update 5-device-collect.md * fix link --------- Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> * Changelog (#316) * Update changelog.md * Update changelog.md * fix anchor * update docs link --------- Co-authored-by: Yujing Zheng <yujing@coscene.io> * Update coCLI latest changes (#319) * cocli is now out of beta * finish the cocli install page refresh * add basic docs for record ops * view and describe records * finish labels docs * add files operations * emphise the help * cleanup * Add moments related operations * update english version as well * remove unnecessary category json * Remove aseets we dont need anymore * Create records by convention in Action (#321) * complete action runtime docs info * update english version as well * feat: add cocli category * updated devcie & collect & some pages (#323) * update catalogue; uninstall device command (#324) * update uninstall device command * update catalogue * 25.31 changelog (#325) * 25.31 changelog * 25.31 changelog 2 * fix link --------- Co-authored-by: Qi He <heqi37@gmail.com> * Update: Open API link in docusaurus.config.js to fix to new S3 storage address. (#328) * Feat/data collection (#331) * Add files via upload * Update 5-device-collect.md * Add files via upload * Update 5-device-collect.md * Update 3-add-rule.md * Update 3-add-rule.md * Add files via upload * Update 1-quick-start.md * Add files via upload * Update 1-quick-start.md * Update 3-add-rule.md * Update 3-add-rule.md * fix add rule variable * Update 3-add-rule.md * Update 3-add-rule.md --------- Co-authored-by: Qi He <heqi37@gmail.com> * Feat/changelog (#332) * Update changelog.md * Update changelog.md * add information of service definition. (#318) * add information of service definition. * nit --------- Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: fei.gao <fei.gao@coscene.io> * fix: openapi url (#336) * Updated the changelog, S3, raw message panel, visual timeline, and permission-related features. (#338) * add user script (#340) --------- Co-authored-by: Woodii <33593572+Woodii1998@users.noreply.github.com> Co-authored-by: Yujing Zheng <yujingz@users.noreply.github.com> Co-authored-by: Fredzengfafa <143169127+Fredzengfafa@users.noreply.github.com> Co-authored-by: 曾擎禹 <fredzeng@ZengqingyuMacbook.local> Co-authored-by: Yujing Zheng <yujing@coscene.io> Co-authored-by: xiranyu <105594127+xiranyu01@users.noreply.github.com> Co-authored-by: angryPopcorn <yuejin.lan@coscene.io> Co-authored-by: fei.gao <fei.gao@coscene.io>
1 parent 856a965 commit bdffbc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+905
-16
lines changed

docs/developers/concepts/2-auth-models.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ coScene 根据上述的权限体系和原则,在系统内为所有的资源预
2323
1. 组织管理员:可以管理组织内的所有资源和权限
2424
2. 成员:可以管理所有组织内成员有权限的数据
2525
3. 只读成员:可以读取所有组织内成员有权限的数据
26+
4. 外部人员:不是组织内的实际用户,可以通过邀请加入组织,访问被添加的项目
2627

2728
### 项目
2829

2930
1. 项目管理员:可以管理项目内所有资源和权限
3031
2. 成员:可以管理项目内所有的数据
3132
3. 只读成员:可以读取项目内所有的数据
3233

33-
当一个用户拥有项目的角色时,该用户项目内的角色会被优先使用。唯一的例外是组织管理员,组织管理员目前拥有最高的系统权限,能访问所有的项目,并且会忽略项目内的角色设置(如果有)。
34+
当一个用户拥有项目的角色时,该用户项目内的角色会被优先使用。唯一的例外是组织管理员,组织管理员目前拥有最高的系统权限,能访问所有的项目。
35+
36+
各角色的操作权限如下:
37+
38+
![auth.png](./img/auth.png)
718 KB
Loading
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# S3 身份验证
6+
7+
了解如何使用 S3 进行身份验证,从而对组织内有权限的项目执行 S3 操作。
8+
9+
1. 进入项目概览-S3 连接页面,获取 Endpoint、Region、Bucket 等信息。
10+
11+
![pro-s3_1](./img/pro-s3_1.png)
12+
13+
2. 点击【我的访问秘钥】,前往个人设置-安全页面,管理个人的 S3 访问秘钥。
14+
15+
![pro-s3_2](./img/pro-s3_2.png)
16+
17+
3. 点击【创建访问秘钥】,输入备注信息后,创建 S3 访问秘钥。
18+
19+
![pro-s3_3](./img/pro-s3_3.png)
20+
21+
4. 复制访问秘钥 ID 和访问秘钥,用于后续 S3 操作。例如,使用 [AIStor Client(mc)](https://docs.min.io/enterprise/aistor-object-store/reference/cli/) 工具进行 S3 身份验证:
22+
23+
```bash
24+
mc alias set coscene <endpoint> <access-key-id> <secret-access-key>
25+
```
26+
27+
注意:**个人的 S3 访问秘钥可对组织内有权限的所有项目执行操作,仅用于个人使用,不建议分享给他人。**
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# S3 操作
6+
7+
在项目中,通过 S3 可对记录、资源进行上传、下载等操作。
8+
9+
## 存储路径
10+
11+
1. **记录**
12+
13+
记录中的文件在 S3 对应 Bucket 中的路径为 `records/<record-id>/files/<file-name>`
14+
15+
例如,记录的 ID 为 `123456`,文件名为 `example.txt`,则文件的路径为 `records/123456/files/example.txt`
16+
17+
![s3-record](./img/s3-record.png)
18+
19+
2. **资源**
20+
21+
资源中的文件在 S3 对应 Bucket 中的路径为 `files/<file-name>`
22+
23+
例如,资源中文件名为 `example.txt`,则文件的路径为 `files/example.txt`
24+
25+
![s3-resource](./img/s3-resource.png)
26+
27+
## 操作示例
28+
[AIStor Client(mc)](https://docs.min.io/enterprise/aistor-object-store/reference/cli/) 工具为例。假设项目 Bucket 为 `coscene.01`,记录的 ID 为 `123456`,文件名为 `example.txt`,S3 配置的别名为 `coscene`
29+
30+
### 列出文件
31+
32+
1. 列出记录中的文件
33+
34+
```bash
35+
mc ls coscene/coscene.01/records/123456/files/
36+
```
37+
38+
2. 列出资源中的文件
39+
40+
```bash
41+
mc ls coscene/coscene.01/files/
42+
```
43+
44+
### 上传文件
45+
46+
1. 上传文件到记录中:
47+
48+
```bash
49+
mc put example.txt coscene/coscene.01/records/123456/files/
50+
```
51+
52+
2. 上传文件到资源中:
53+
54+
```bash
55+
mc put example.txt coscene/coscene.01/files/
56+
```
57+
58+
### 下载文件
59+
60+
1. 从记录中下载文件
61+
62+
```bash
63+
mc get coscene/coscene.01/records/123456/files/example.txt .
64+
```
65+
66+
2. 从资源中下载文件
67+
68+
```bash
69+
mc get coscene/coscene.01/files/example.txt .
70+
```

docs/developers/s3/_category_.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"label": "S3 存储",
3+
"position": 4,
4+
"collapsible": true,
5+
"link": {
6+
"type": "generated-index",
7+
"slug": "/category/s3"
8+
}
9+
}
91.3 KB
Loading
91 KB
Loading
82.1 KB
Loading
125 KB
Loading
53.6 KB
Loading

0 commit comments

Comments
 (0)