01 · What is it?
A permission is an authorization rule that allows or denies a specific operation on a resource.
It answers the question: “Is this caller allowed to do this action here?”
Simple Definition:
A permission says what a caller may do.
A rule that controls whether a user, service, or application may access a resource or perform an action.
A permission is an authorization rule that allows or denies a specific operation on a resource.
It answers the question: “Is this caller allowed to do this action here?”
Simple Definition:
A permission says what a caller may do.
Think of a permission like a rule on an access card.
The card identifies the person entering a building.
The permission rule determines which doors that person may open.
A valid identity does not automatically grant access to every room.
Analogy:
A permission turns an access policy into a decision the system can enforce.
Permissions are used wherever software needs to protect data, features, or external actions.
Read or change customer, order, or document data.
Open an admin screen, export data, or change settings.
Call an API, send a message, or run a job.
Release payment, delete data, or deploy a change.
The agent may have access to finance tools, but each proposed operation is checked against its permissions. A payment may also require a separate human approval.
Capability does not equal permission. Tool access does not mean every operation is allowed.
Authentication checks who the caller is. A role groups related permissions. Authorization evaluates the permission before access is granted.
A rule that allows or denies a specific action on a resource.
The process of checking who or what the caller is.
A named grouping of responsibilities and permissions.
A capability being available does not grant unlimited authority.
A person reviewing a selected action is a separate control.
A broader control that may inspect inputs, outputs, or actions.
| ENGLISH TERM | 中文 | SIMPLE ENGLISH | 中文小白理解 |
|---|---|---|---|
| Permission | 权限 | A rule that allows or denies an action. | 决定某个操作能不能执行的规则。 |
| Authorization | 授权 | Checking what a caller is allowed to do. | 检查调用方可以做什么。 |
| Authentication | 身份验证 | Checking who or what the caller is. | 确认调用方是谁或是什么系统。 |
| Role | 角色 | A named group of responsibilities and permissions. | 把一组职责和权限放在一起的名称。 |
| Resource | 资源 | Data, a feature, or a system object being protected. | 需要被保护的数据、功能或系统对象。 |
| Least Privilege | 最小权限 | Giving only the access required for a task. | 只给完成任务所必需的权限。 |
| Access Check | 访问检查 | A decision about whether a requested operation may proceed. | 判断请求的操作是否可以继续执行。 |
| Human Approval | 人工审批 | A person reviewing and approving a selected action. | 由人检查并批准某个具体操作。 |
A permission is a rule that controls whether a caller may perform a specific action on a specific resource.
Use narrow permissions, check them in trusted application code, and add human approval where the action is high impact.
Core Flow:
Identity → Role → Permission → Access Check → Resource / Action