This feature is not part of the community edition: it needs to be unlocked.
- An authentication mechanism to secure access to the session.
- Restrictions to control the data each user is allowed to see.
Configuring authentication
Atoti supports multipleauthentication mechanisms.
Here we’ll use OpenID Connect:
- global-user with the role user.
- french-user with the roles france and atoti.
- parisian-user with the roles paris and atoti.
Configuring authorization
atoti.tables.Tables.restrictions can be used to limit access to the data within the session.
Let’s create restrictions and then assign roles so that:
- global-user has access to everything.
- french-user only has access to France data.
- parisian-user only has access to Paris data.
role mapping to create a mapping between the roles our users have in the OIDC provider, and the roles we want them to have in the Atoti application.