mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-03 17:38:51 +00:00
chore: rename authorization to role assignment (#11588)
# Which Problems Are Solved As part of the naming consistency initiative, the terms Authorization, User grants, internal authorization and other similar terms that are used in the context of assigning project roles to users are replaced by Role Assignments in the UI, API docs, and documentation. # How the Problems Are Solved By replacing the following terms with Role Assignments in API docs, Console UI, and guides. - Authorization - internal authorization - external authorization - User Grant - Roles and Authorizations By adding a note in the API docs to make it clear that Authorization within the context of Authorization Service API refers to role assignments, not to OAuth authorization as it is still used in the APIs. By updating some screenshots in documentation / guides to show "Role Assignments" instead of "Authorizations" in the UI. # Additional Changes N/A # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11289 --------- Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Copilot
parent
fa5e76661a
commit
93a4ed8857
@@ -16,7 +16,7 @@ A Project is the vessel that holds your Applications and Roles. It defines the s
|
||||
Imagine you are building a **Point of Sales (POS)** platform. In ZITADEL, you would create one Project (e.g., named `POS`).
|
||||
* **Applications:** Your web portal for administration, your iOS app, and your Android app would all be defined as **Applications** within this single Project.
|
||||
* **Roles:** You would create **Roles** (e.g., `admin`, `cashier`, `viewer`) inside this Project.
|
||||
* **Authorization:** All applications in this project share these roles, allowing you to create unified authorizations for your users across all platforms.
|
||||
* **Role assignment:** All applications in this project share these roles, allowing you to create unified role assignments for your users across all platforms.
|
||||
|
||||

|
||||
|
||||
@@ -28,7 +28,7 @@ At the moment, we support OIDC and almost every OAuth2 client. We'll be expandin
|
||||
Go to [Applications](./applications-overview) for more details.
|
||||
|
||||
### Roles
|
||||
A role consists of different attributes, but only the **Key** is relevant to the authorization and must be unique within the project.
|
||||
A role consists of different attributes, but only the **Key** is relevant to the role assignment and must be unique within the project.
|
||||
* **Key:** The identifier used in code (e.g., `role.admin`).
|
||||
* **Display Name:** A human-readable name for the UI.
|
||||
* **Group:** Enables better handling in the ZITADEL Management Console (e.g., giving a user all roles of a specific group).
|
||||
@@ -65,7 +65,7 @@ To create a project:
|
||||
A powerful feature of ZITADEL is the ability to **Grant** a project to other organizations. This is essential for B2B scenarios where you sell your software to business partners.
|
||||
|
||||
* **The Concept:** You enable another organization to use your Project.
|
||||
* **Delegation:** The granted organization can manage the authorizations of *their own users* for your project. They can assign the roles you defined to their employees without your intervention.
|
||||
* **Delegation:** The granted organization can manage the role assignments of *their own users* for your project. They can assign the roles you defined to their employees without your intervention.
|
||||
* **Isolation:** You can select specifically which roles are available to the granted organization. This allows you to restrict features (e.g., "Premium" roles) per customer.
|
||||
|
||||
Using the POS example above: You could grant the `POS` project to a partner organization. That partner can then log in with their own domain, use their own branding, and manage their own cashier users, all while using your underlying application structure.
|
||||
@@ -79,7 +79,7 @@ Using the POS example above: You could grant the `POS` project to a partner orga
|
||||
### How to Grant a Project
|
||||
|
||||
1. Navigate to the Project you want to share (e.g., `POS`).
|
||||
2. In the **Grants** section, click **New**.
|
||||
2. In the **Project Grants** section, click **New**.
|
||||
|
||||
<img src="/docs/img/guides/console/grantsmenu.png" alt="Grants" width="170px" />
|
||||
|
||||
@@ -101,11 +101,11 @@ If you have different designs for your organizations (Private Labeling), you can
|
||||
width="400px"
|
||||
/>
|
||||
|
||||
| Setting | Description |
|
||||
| :--- | :--- |
|
||||
| **Unspecified** | If nothing is specified, the system default settings will trigger. |
|
||||
| Setting | Description |
|
||||
|:-----------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **Unspecified** | If nothing is specified, the system default settings will trigger. |
|
||||
| **Enforce project's policy** | This forces the branding of the organization that *owns* the project throughout the entire login process. Useful if you want your users to always see *your* brand, even if they belong to a partner org. |
|
||||
| **Allow login user policy** | The login starts with the project's branding. However, as soon as the user is identified (e.g., by entering their email), the branding switches to match the user's organization. |
|
||||
| **Allow login user policy** | The login starts with the project's branding. However, as soon as the user is identified (e.g., by entering their email), the branding switches to match the user's organization. |
|
||||
|
||||
In a B2B use case, you would typically use **Allow login user policy**. If you want to skip the detection step, you can preselect an organization using the [primary domain scope](/apis/openidoauth/scopes#reserved-scopes) (e.g., `urn:zitadel:iam:org:domain:primary:{domainname}`).
|
||||
|
||||
@@ -119,7 +119,7 @@ You can configure strict security checks regarding roles during authentication.
|
||||
/>
|
||||
|
||||
* **Assert Roles on Authentication:** Role information is sent from the Userinfo endpoint (and in tokens, depending on app settings).
|
||||
* **Check authorization on Authentication:** Users are **only** allowed to login if they have at least one role assigned for this project. If they have no roles, access is denied immediately.
|
||||
* **Check Role Assignment on Authentication:** Users are **only** allowed to log in if they have at least one role assigned for this project. If they have no roles, access is denied immediately.
|
||||
* **Check for Project on Authentication:** Checks if the user's organization actually has a grant for this project. If not, the user cannot be authenticated.
|
||||
|
||||
### Roles in Tokens
|
||||
|
||||
Reference in New Issue
Block a user