Este conteúdo não está disponível no idioma selecionado.
Preface
In Authentication, you learnt how to authenticate users to Red Hat Developer Hub. Developer Hub knowns who the users are.
In this book, learn how to authorize users to perform actions in Developer Hub. Define what users can do in Developer Hub.
Role-Based Access Control (RBAC) is a security concept that controls access to resources in a system, and specifies a mapping between users of the system, and the actions they can perform on resources in the system. You define roles with specific permissions, and then assign the roles to users and groups.
RBAC on Developer Hub is built on top of the Permissions framework, which defines RBAC policies in code. Rather than defining policies in code, the Developer Hub RBAC feature allows you to define policies in a declarative fashion using a simple CSV based format. You can define the policies by using Developer Hub web interface or REST API, rather than editing the CSV directly.
To define authorizations in Developer Hub:
- The Developer Hub administrator enables and gives access to the RBAC feature.
You define your roles and policies by combining the following methods:
- The Developer Hub policy administrator uses the Developer Hub web interface or REST API.
- The Developer Hub administrator edits the main Developer Hub configuration file.
- The Developer Hub administrator edits external files.