Page cover

Add New User and Assign Roles To The User

This guide provides a comprehensive walkthrough for adding new users to a specific namespace and assigning them appropriate roles using the Kubeflow frontend. The process involves two main stages: adding a user as a contributor and then formally creating their account with specific role bindings.

Adding a User as a Contributor

The first step is to add the user as a contributor to the desired namespace. From the main dashboard, navigate to and click the "Manage Contributors" menu.

This section displays account information and a list of current members. Within the "Contributors for - " area, you will find an input field to add new users.

Click the “Add by email address” input field and enter the full email address of the user you wish to grant access to, such as [email protected]. After typing the email, press the "Enter" key. This action officially registers the email address as a contributor to the current namespace.

Creating the User Account and Assigning a Base Role

After adding the contributor, navigate to the "Settings" menu. On the Settings page, you will find three navigation options: "Settings", "Users", and "Roles". Select the "Users" tab to view all users associated with the namespace.

Click the “Add User” button.

A dialog box will appear prompting for several details. You must fill in the “Email Address” with the same email you added previously. For the “Base Role”, you can choose between “Editor” and “Viewer”; for this example, “Editor” is selected. You will also need to provide a "Temporary Password" (e.g., 123456), which the user will be required to change upon their first login. After confirming the namespace is correct, click “Create User”.

Upon successful creation, the new user will appear in the list, and their Primary Role will be displayed as “edit,” reflecting the "Editor" option you selected.

Binding Specific Roles

With the user account created, you can now bind more specific, granular roles. In the user list, find the newly created user and click the dropdown arrow next to their name to reveal more details. Click the “Add Role” button.

A new dialog will appear. The "User Email" and "Namespace" fields will be pre-populated. Your only task is to select the desired "Role" from the dropdown menu, such as “Data Scientist,” and then click the “Bind Role” button. (Note: New roles can be created through a separate process, detailed in the "Creating Roles" documentation).

After binding, the description under “Role Bindings for User” will be updated to include the "Data Scientist" role, along with a timestamp indicating when it was added, completing the user setup process.

Last updated