For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Manage users and permissions

Add new users

To start using Cennso, users must first register to the Cennso Management Console. You can add users manually or enable registration through external authentication providers.

Add users manually

  1. Log in to Cennso Management Console with admin rights.
  2. Go to Administration → Users and access → Users and click New User.
  3. Fill out the form and click Create.

The new user can now log in to the Cennso Management Console with their assigned credentials.

Configure authentication providers

To configure an authentication provider:

  1. Log in to the Cennso Management Console with admin rights.
  2. Go to Administration → Authentication.
  3. Select an authentication provider you want to configure.
  4. Provide the authentication provider settings.
  5. Save and enable the configuration.

Now the users managed by the configured authentication provider can log in to Cennso Management Console with their credentials.

Manage user permissions

Once users are added, you can manage their access to different areas of the platform. By default, new users are assigned the default role when they sign in. To modify the permissions included in this role, read the Define the default role section.

Follow the steps below to assign permissions to individual users.

To add new permissions to a user:

  1. Go to Cennso Management → Settings → Permissions → Users and click +Add in the upper-right corner of the user list.
  2. Fill out the form. In the Roles assignment section, you can choose roles that already have predefined permissions. You can assign roles by either their name or label. Select the Name or Labels tab and choose the role name or label you want to assign. If you choose a label, all roles containing that label will be assigned. In the Permissions section, you can add permissions to specific API groups and resources.
  3. Click Create user to confirm.

To edit permissions:

  1. Go to Cennso Management → Settings → Permissions → Users. Here you can see a list of all users that already have permissions assigned.
  2. Click the pen icon in the user's row to change the user permissions and fill out the form.
  3. Click Update to confirm.

Manage user group permissions

Follow the instructions below to learn how to create and manage a user group.

To create a new user group:

  1. Go to Cennso Management → Settings → Permissions → Groups tab and click +Create in the upper-right corner of the user list.
  2. Fill out the form. In the Roles assignment section, you can choose roles that already have predefined permissions. You can assign roles by either their name or label. Select the Name or Labels tab and choose the role name or label you want to assign. If you choose a label, all roles containing that label will be assigned. In the Permissions section, you can add permissions to specific API groups and resources.
  3. Click Create to confirm.
  4. Add users to the newly created group.

To add users or groups to the already-existing group:

  1. Go to Cennso Management → Settings → Permissions → Groups tab and click the name of the user group you want to edit.
  2. In the Members tab, click Add in the upper right corner of the members list.
  3. Select the User or Group tab and choose the user or group you want to add to the user group you are editing.
  4. Click Update to confirm.

To edit permissions of the already-existing group:

  1. Go to Cennso Management → Settings → Permissions → Groups tab and click the pen icon in the user group's row to change the user group permissions.
  2. Fill out the form with the options you want to change.
  3. Click Update to confirm.

Manage permissions using roles

Follow the instructions below to create and manage roles.

  1. Go to Cennso Management → Settings → Permissions → Roles tab and click Create.
  2. Fill out the form. Specify a unique name for your role. In the Roles assignment section, you can choose roles that already have predefined permissions. You can assign roles by either their name or label. Select the Name or Labels tab and choose the role name or label you want to assign. If you choose a label, all roles containing that label will be assigned. In the Permissions section, you can add permissions to specific API groups and resources.
  3. Click Create to confirm.

Update an already-existing role

  1. Go to Cennso Management → Settings → Permissions → Roles tab. Here you can see a list of existing roles.
  2. Click the pen icon in the role's row to change the role permissions and fill out the form.
  3. Click Update to confirm.

Manage access to CMC settings

You can grant different levels of access to CMC settings for specific users, user groups, or roles. Depending on the assigned permissions, some may only view settings, while others may be able to edit them. To configure this access, use the special API group scopes.authorization.cennso.com with the cmc resource, and select the appropriate verbs:

  • setting:read - allows viewing general settings and plugins
  • setting:write - allows viewing and editing general settings and plugins
  • permissions:read - allows viewing permissions
  • permissions:write - allows viewing and editing permissions

Define the default role

When a new user registers to Cennso, their account is automatically created with the default role. You can change the permissions granted by the default role by adding the authorization.cennso.com/default=true label to the roles you want to include as default. See the example:

yaml

In this case, each user will be able to list pods resources in all namespaces by default.

Check permissions

You can check whether a specific user, group, or role has the correct permissions for specific API groups and resources. Follow these steps to ensure access is configured correctly:

  1. Go to Cennso Management → Settings → Permissions.
  2. Click Run tester in the upper-right corner of the page.
  3. Fill out the form and click Check.

An information panel appears indicating whether permissions are granted or denied.