> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/gong-xiang-yu-xie-zuo/permission-inheritance-examples.md).

# 权限继承示例

### 场景：工作区成员 + 驱动器继承

**你**

* 角色： **工作区成员**
* 不是工作区管理员
* 你加入一个已经有两个驱动器的工作区

***

### 驱动器设置（由管理员）

#### 驱动器 A： `市场项目`

* **工作区成员的默认继承：** **完全访问**

#### 驱动器 B： `财务与法律`

* **工作区成员的默认继承：** **无访问权限**

***

### 你加入工作区时看到的内容

#### 驱动器 A — `市场项目`

因为该驱动器的默认继承是 **完全访问**:

* 该驱动器会显示在你的驱动器列表中
* 你可以打开所有文件夹和文件
* 你可以：
  * 上传文件
  * 重命名、删除并重新组织文件
  * 管理文件和文件夹级别的权限
* 你 **不是** 驱动器管理员
  * 你不能重命名或删除该驱动器
  * 你不能管理驱动器级别的权限
  * 你不能在驱动器级别管理元数据

***

#### 驱动器 B — `财务与法律`

因为该驱动器的默认继承是 **无访问权限**:

* 该驱动器确实 **不是** 会显示在你的驱动器列表中
* 你不能浏览其文件夹或文件
* 你完全看不到其内容，甚至不知道它们存在

> 实际上：
>
> **除非有人明确将你添加进去，否则该驱动器对你不可见。**

***

### 如果管理员后来更改了某些内容

#### 情况 1：管理员将你明确添加为驱动器 B 的编辑者

* 驱动器 B 现在会显示在你的驱动器列表中
* 你可以访问该驱动器中的所有文件夹和文件
* 你的权限是 **编辑者**，不受默认继承影响

***

#### 情况 2：管理员将驱动器 B 的默认继承更改为“查看者”

* 你会看到该驱动器
* 你可以查看/下载文件，但不能编辑或上传

### 场景：工作区承包商

**你**

* 角色： **工作区承包商**
* 与之前相同的设置，两个驱动器，一个默认继承为“无访问权限”，另一个为“完全访问”

***

### 你加入工作区时看到的内容

#### 两个驱动器都不可见：

因为承包商会忽略默认继承：

* 这些驱动器确实 **不是** 会显示在你的驱动器列表中
* 你不能浏览它们的文件夹或文件
* 你完全看不到它们的内容，甚至不知道它们存在

***

### 如果管理员后来更改了某些内容

#### 情况 1：管理员将你明确添加为驱动器 A 的编辑者

* 驱动器 A 现在会显示在你的驱动器列表中
* 你可以访问该驱动器中的所有文件夹和文件
* 你的权限是 **编辑者**，不受默认继承影响

***

#### 情况 2：管理员将你添加到驱动器 A 内的特定文件夹

* 你会看到该驱动器
* 你可以查看并下载该特定文件夹中的文件，如果你挂载该驱动器，你只会看到你被添加到的那个特定文件夹。
* 如果你被添加到一个子文件夹，你可以通过父文件夹导航到该文件夹，但你 **不会** 看到任何没有明确将你添加进去的文件夹。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/shade-academy/shade-academy-zh/gong-xiang-yu-xie-zuo/permission-inheritance-examples.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
