docs: Admin training (#2436)

* docs: zitadel concepts

* docs: zitadel concepts

* docs: zitadel concepts

* docs: graphics

* docs: graphics

* docs: image zoom

* docs: readme fix

* docs: applications

* fix: graphics

* add plugins

* fix: links

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/projects.md

Co-authored-by: Livio Amstutz <[email protected]>

* Update docs/docs/concepts/zitadel/objects/applications.md

Co-authored-by: Livio Amstutz <[email protected]>

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Fabi
2021-09-30 11:49:57 +02:00
committed by GitHub
co-authored by Livio Amstutz
parent 244d945886
commit f14ca1dc00
38 changed files with 478 additions and 302 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ ZITADEL Managers are Users who have permission to manage ZITADEL itself. There a
- **Project Mangers**: In this level the user is able to manage a project.
- **Project Grant Manager**: The project grant manager is for projects, which are granted of another organization.
On each level we have some different Roles. Here you can find more about the different roles: [ZITADEL Manager Roles](../../concepts/managers)
On each level we have some different Roles. Here you can find more about the different roles: [ZITADEL Manager Roles](../../concepts/zitadel/objects/managers.md)
## Exercise: Add ORG_OWNER to Service User
@@ -41,7 +41,7 @@ If Google is configured as identity provider on your organization, the user will
ZITADEL will redirect the user to the login screen of Google where he as to authenticated himself (2) and is sent back after he has finished that (3).
Because Google is registered as trusted identity provider the user will be able to login in with the Google account after he linked an existing ZITADEL Account or just registered a new one with the claims provided by Google (4)(5).
![Identity Brokering](/img/zitadel_identity_brokering.png)
![Identity Brokering](/img/guides/identity_brokering.png)
## Exercise: Register an external identity provider
@@ -28,11 +28,10 @@ title: Service Users
</tr>
</table>
## Human vs. Machine
ZITADEL supports human an machine users. We call human users simply "Users" and machine users "Service Users".
import UserDescription from '../../concepts/zitadel/objects/_user_description.mdx';
With Service Users you would typically secure backend services. For example in ZITADEL you would require an authenticated Service User to access the Management API. The main difference between human and machine users is the type of credentials that can be used for authentication: Human users typically logon via an login prompt, but Machine users require a non-interactive logon process.
<UserDescription name="UserDescription" />
## Exercise: Create a Service User
@@ -59,7 +59,7 @@ So what do we want to achieve with delegated authentication?
* Users have to **authorize** applications to access certain [**scopes**](https://docs.zitadel.ch/architecture#Scopes) (eg, email address or custom roles). Applications can request [**claims**](https://docs.zitadel.ch/architecture#Claims) (key:value pairs, eg email address) for the authorized scopes with the access token or ID token from ZITADEL
* Access tokens are bearer tokens, meaning that possession of the token provides access to a resource. But the tokens expire frequently and the application must request a new access token via **refresh token** or the user must reauthenticate
![Overview federated identities](/img/consulting_federated_identities_basics.png)
![Overview federated identities](/img/guides/consulting_federated_identities_basics.png)
This is where the so-called “flows” come into play: There are a number of different flows on how to handle the process from authentication, over authorization, getting tokens and requesting additional information about the user.
+2 -16
View File
@@ -11,23 +11,9 @@ title: Organizations
## What is an organization?
ZITADEL is organized around the idea that:
import OrgDescription from '../../concepts/zitadel/objects/_org_description.mdx';
* Multiple organizations share the same system. In this case multiple organizations share the same service, zitadel.ch
* organizations can grant each other rights to self-manage certain aspects of the IAM (eg, roles for access management)
* organizations are vessels for users and projects
![Overview ZITADEL Organizations](/img/zitadel_organizations.png)
Organizations in ZITADEL are therefore comparable to tenants of a system or organizational units of a directory based system.
You can use projects within your organization to manage the security context of closely related components, such as roles, grants and authorizations for multiple clients. You can set up multiple projects within your organization.
ZITADEL allows you to give other organizations permission to manage certain aspects of a project within your organization on their own. This means you could set up a project with roles that should exist within your service/software, but allow another organization to allocate the roles to users within their own organization. As a service provider, you will find this feature useful, as it allows you to establish a self-service culture for your business customers.
![Organization Grant](/img/zitadel_organization_grant.png)
Each organization has its own pool of usernames, which includes human and service users, for its domain (`{username}@{domainname}.{zitadeldomain}`). A username is unique within your organization. You can configure ZITADEL to use your own domain, and simplify user experience (`{loginname}@{yourdomain.tld}`).
<OrgDescription name="OrgDescription" />
There are several more modules in our documentation to go into more detail regarding organization management, projects, clients, and users. But first let’s create a new organization and verify your domain name.
+4 -27
View File
@@ -11,18 +11,9 @@ title: Projects
## What is a project?
The idea of projects is to have a vessel for all components who are closely related to each other. Multiple projects can exist within an organization.
import ProjectDescription from '../../concepts/zitadel/objects/_project_description.mdx';
![Organization grant](/img/zitadel_organization_grant.png)
All applications within a project share the same roles, grants, and authorizations:
* **Applications** is your software that initiates the authorization flow. This could be a web app and a mobile app that share the same roles.
* **Roles** are a means of managing user access rights for a project.
* **Authorizations** define which users have which roles. Authorizations are also called “user grants”.
* **Granted Organizations** can manage selected roles for your project on their own.
![Organization grant](/img/console_projects_overview.png)
<ProjectDescription name="ProjectDescription" />
The goal of this module is to give you an overview, but not dive too deep into details around managing access rights and delegating management of roles to third parties. So let’s create a straightforward example project first.
@@ -66,23 +57,9 @@ Now create another project (eg. “My second project”) and verify that there a
## What is a granted project?
![Organization Grant](/img/zitadel_organization_grant.png)
import GrantedProjectDescription from '../../concepts/zitadel/objects/_granted_project_description.mdx';
With ZITADEL you can grant selected roles within your project to an organization. The receiving organization can then create authorizations for their users on their own (self-service).
An example could be a service provider that offers a SaaS solution that has different permissions for employees working in Sales and Accounting. As soon as a new client purchases the service, the provider could grant the roles ‘sales’ and ‘accounting’ to that organization, allowing them to self-manage how they want to allocate the roles to their users.
The process of assigning certain roles by default or according to rules can be further automated by utilizing Service Users in the service provider’s business process.
Obviously, your organization can grant projects and receive projects. When you are granting, then the receiving organization will be displayed in the section GRANTED ORGANIZATIONS of your project.
![Project granted to organization](/img/console_projects_granted.png)
A granted project, on the other hand, belongs to a third party, granting you some rights to manage certain roles of their project. ZITADEL Console shows granted projects in a dedicated navigation menu, to clearly separate from your organization’s projects.
![Granted Projects Overview](/img/console_granted_projects_overview.png)
Please note that you can also grant selected roles of a project to an individual user, instead of an organization. We will discuss this in more detail in a later section.
<GrantedProjectDescription name="GrantedProjectDescription" />
## Exercise - Grant a project