10 KiB
title | tags | readingtime |
---|---|---|
ZITADEL Projects | beginner, administrator, product owner | 10min |
Description | Learn the basics about applications, roles and authorizations, and how projects allow you to group these together. |
Learning Outcomes | In this module you will:
|
Prerequisites |
|
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.

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.

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.
Exercise - Create a simple project
Visit https://console.zitadel.ch/projects or select “Projects” within your organization, then click the button to create a new project.

Enter the name “ My first project” and continue.
Let’s make this more interesting and add some basic roles and authorizations to your project and then confirm the scope of the roles and authorizations.
Jump to the section ROLES and create two new roles with the following values
- Key: reader
- Display Name: Reader
- Group: user
and
- Key: editor
- Display Name: Editor
- Group: user

Now, you can add roles to your own user, or you can create a new user. To create a new user, go to Users and click “New”. Enter the required contact details and save by clicking “Create”.

To grant users certain roles, you need to create authorizations. Go back to the project, and jump to the section AUTHORIZATIONS.

You can verify the role grant on the user. Select Users from the navigation menu and click on the user Coyote. Scroll down to the section AUTHORIZATION, there you should be able to verify that the user has the role ‘reader’ for your project ‘My first project’.

Now create another project (eg. “My second project”) and verify that there are no roles or authorizations on your second project.
What is a granted project?

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.

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.

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.
Exercise - Grant a project
- Visit the project that you have created before, then in the section GRANTED ORGANIZATIONS click New.
- Enter the domain ‘acme.zitadel.ch’, search the organization and continue to the next step.
- Select some roles you would like to grant to the organization ACME and confirm.
- You should now see ACME in the section GRANTED ORGANIZATIONS

Knowledge Check (2)
- You can setup multiple projects within an organization to manage scope
- yes
- no
- Authorizations are define more detailed access rights within your application
- yes
- no
- Your projects as well as projects granted to your organization are visible within the Tab Projects of your organization
- yes
- no
Solutions
- You can setup multiple projects within an organization to manage scope
- yes
- no
- Authorizations are define more detailed access rights within your application
- yes
- no (Authorizations link users to certain roles)
- Your projects as well as projects granted to your organization are visible within the Tab Projects of your organization
- yes
- no (Projects and Granted Projects are shown on different tabs)
Summary (2)
- Manage scope of roles, authorizations and applications with projects
- Create and assign roles to users of your organization within your project
- Use project grants to enable other organizations to self-manage access rights (roles) to your applications
Where to go from here:
- Manage roles for your project
- Grant roles to other organizations or users
- Service Users
- Manage IAM Roles
- Setup a SaaS Application with granted projects (Learning Path)