mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 07:35:13 +00:00
docs: update outdated screenshots (#11630)
# Which Problems Are Solved Update outdated screenshots in the docs. # How the Problems Are Solved By replacing the outdated ones with current screenshots # Additional Changes Replace the usage of "authorization" with "role assignments" in docs where it was previously missed. # Additional Context - Follow-up for PR https://github.com/zitadel/zitadel/pull/11588 - there are some more docs to be updated, which will be done in a following PR --------- Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Copilot
parent
1494f91f80
commit
9b2507832a
@@ -1,4 +1,4 @@
|
||||
In order to access this route, you must create the role `read:messages` in your ZITADEL project and also create an authorization for the service account you created by adding the role to the user. Follow these steps to do so:
|
||||
In order to access this route, you must create the role `read:messages` in your ZITADEL project and also assign a role to the service account you created by adding the role to the user. Follow these steps to do so:
|
||||
|
||||
1. Go to your project and select **Roles**. Click **New**.
|
||||
|
||||
@@ -12,7 +12,7 @@ In order to access this route, you must create the role `read:messages` in your
|
||||
|
||||

|
||||
|
||||
4. To assign this role to a user, click on **Authorizations**.
|
||||
4. To assign this role to a user, click on **Role Assignments**.
|
||||
|
||||

|
||||
|
||||
@@ -20,7 +20,7 @@ In order to access this route, you must create the role `read:messages` in your
|
||||
|
||||

|
||||
|
||||
6. Select the project where this authorization is applicable.
|
||||
6. Select the project where this role assignment is applicable.
|
||||
|
||||

|
||||
7. Click **Continue**.
|
||||
|
||||
@@ -167,7 +167,7 @@ Give `Alice Admin` the roles `reader` and `admin`.
|
||||
|
||||
You should be able to log in to the Demo Application with `Alice Admin` and see all granted projects.
|
||||
|
||||
You can log out and log in with `Eric Employee` and you should only have access to the granted projects, but not to the Authorizations tab.
|
||||
You can log out and log in with `Eric Employee` and you should only have access to the granted projects, but not to the `Role Assignments` tab.
|
||||
|
||||
## What next
|
||||
|
||||
@@ -176,4 +176,4 @@ You could create another project (eg, `Data Cube`) and grant that project to the
|
||||
You could also build out the code (PRs welcome :wink:) for this application, for example:
|
||||
|
||||
- Create a mock `datacube-web` application and show how SSO between the portal and the application works with ZITADEL.
|
||||
- Implement a feature in the Authorization tab to assign roles directly from the customer portal.
|
||||
- Implement a feature in the `Role Assignments` tab to assign roles directly from the customer portal.
|
||||
|
||||
@@ -42,9 +42,9 @@ If none of the roles is provided as a user, the user in Django will not be creat
|
||||
|
||||

|
||||
|
||||
Finally, we can assign the roles to users in the project's authorizations tab.
|
||||
Finally, we can assign the roles to users in the project's `Role Assignments` tab.
|
||||
|
||||

|
||||

|
||||
|
||||
### Set up application and obtain secrets
|
||||
|
||||
@@ -198,7 +198,7 @@ Never store and commit secrets in the ".env" or settings.py file
|
||||
|
||||
### Authentication and authorization
|
||||
|
||||
To check the authentication and authorization the views in the polls application are extended with decorators:
|
||||
To check the authentication and authorization, the views in the polls application are extended with decorators:
|
||||
|
||||
```python reference
|
||||
https://github.com/zitadel/example-python-django-oidc/blob/main/mysite/views.py
|
||||
|
||||
@@ -62,7 +62,7 @@ Give the service account a name and a username. Select `Bearer` as *Access Token
|
||||
|
||||

|
||||
|
||||
### Create service account and personal access token (PAT)
|
||||
### Create a service account and a personal access token (PAT)
|
||||
|
||||
Once done, from the left panel of the user management, click on Personal Access Token and create a new one.
|
||||
|
||||
@@ -205,11 +205,11 @@ Finally, create the role as shown below:
|
||||
|
||||

|
||||
|
||||
After you have created the role, let's grant it the user, who requested the tasks.
|
||||
Click on `Authorization` in the navigation and create a new one by selecting the user and the `admin` role.
|
||||
After you have created the role, let's grant it to the user who requested the tasks.
|
||||
Click on `Role Assignments` in the navigation and create a new one by selecting the user and the `admin` role.
|
||||
After successful creation, it should look like:
|
||||
|
||||

|
||||

|
||||
|
||||
So you should now be able to add a new task:
|
||||
|
||||
|
||||
@@ -226,11 +226,11 @@ Finally, create the role as shown below:
|
||||
|
||||

|
||||
|
||||
After you have created the role, let's grant it the user, who requested the tasks.
|
||||
Click on `Authorization` in the navigation and create a new one by selecting the user and the `admin` role.
|
||||
After you have created the role, let's grant it to the user who requested the tasks.
|
||||
Click on `Role Assignments` in the navigation and create a new one by selecting the user and the `admin` role.
|
||||
After successful creation, it should look like:
|
||||
|
||||

|
||||

|
||||
|
||||
So you should now be able to add a new task:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Before we can start building our application, we have to do a few setup steps in
|
||||
|
||||
<ServiceAccountJWT components={props.components} />
|
||||
|
||||
### Give Service Account an authorization
|
||||
### Assign a role to the Service Account
|
||||
|
||||
<ServiceAccountRole components={props.components} />
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import SetupPython from '../imports/_setup_python.mdx';
|
||||
This integration guide demonstrates the recommended way to incorporate ZITADEL into your Django Python application.
|
||||
It explains how to check the token validity in the API and how to check for permissions.
|
||||
|
||||
By the end of this guide, your application will have three different endpoint which are public, private(valid token) and private-scoped(valid token with specific role).
|
||||
By the end of this guide, your application will have three different endpoints that are public, private (valid token) and private-scoped (valid token with a specific role).
|
||||
|
||||
<Callout>
|
||||
This documentation references our [example](https://github.com/zitadel/example-django-python-oauth) on GitHub.
|
||||
@@ -19,7 +19,7 @@ This documentation references our [example](https://github.com/zitadel/example-d
|
||||
|
||||
## ZITADEL setup
|
||||
|
||||
Before we can start building our application, we have to do a few setup steps in ZITADEL Management Console.
|
||||
Before we can start building our application, we have to do a few setup steps in the ZITADEL Management Console.
|
||||
|
||||
### Create application
|
||||
|
||||
@@ -29,7 +29,7 @@ Before we can start building our application, we have to do a few setup steps in
|
||||
|
||||
<ServiceAccountJWT components={props.components} />
|
||||
|
||||
### Give Service Account an authorization
|
||||
### Assign a role to the Service Account
|
||||
|
||||
<ServiceAccountRole components={props.components} />
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ CLIENT_SECRET = "NVAp70IqiGmJldbS...."
|
||||

|
||||
|
||||
1. Create a service account and a Personal Access Token (PAT) for that user by following [this guide](/guides/integrate/service-accounts/personal-access-token#create-a-service-account-with-a-pat).
|
||||
2. To enable authorization, follow [this guide](/guides/manage/console/roles) to create a role `read:messages` on your project.
|
||||
2. To assign roles, follow [this guide](/guides/manage/console/roles) to create a role `read:messages` on your project.
|
||||
3. Next, add the role `read:messages` to the service account you created. Follow this [guide](/guides/manage/console/roles#role-assignments) for more information on creating a role assignment.
|
||||
|
||||
### Run the API
|
||||
|
||||
Reference in New Issue
Block a user