Administrators have the permission to create RKE templates, and only administrators can give that permission to other users.

For more information on administrator permissions, refer to the documentation on global permissions.

Giving Users Permission to Create Templates

Templates can only be created by users who have the global permission Create RKE Templates.

Administrators have the global permission to create templates, and only administrators can give that permission to other users.

For information on allowing users to modify existing templates, refer to Sharing Templates.

Administrators can give users permission to create RKE templates in two ways:

Allowing a User to Create Templates

An administrator can individually grant the role Create RKE Templates to any existing user by following these steps:

  1. In the upper left corner, click ☰ > Users & Authentication.
  2. In the left navigation bar, click Users.
  3. Choose the user you want to edit and click ⋮ > Edit Config.
  4. In the Built-in section, check the box for Create new RKE Cluster Templates role along with any other roles the user should have. You may want to also check the box for Create RKE Template Revisions.
  5. Click Save.

Result: The user has permission to create RKE templates.

Allowing New Users to Create Templates by Default

Alternatively, the administrator can give all new users the default permission to create RKE templates by following the following steps. This will not affect the permissions of existing users.

  1. In the upper left corner, click ☰ > Users & Authentication.
  2. In the left navigation bar, click Roles.
  3. Go to the role named **Create new RKE Cluster Templates and click ⋮ > Edit Config.
  4. Select the option Yes: Default role for new users.
  5. Click Save.
  6. If you would like new users to also be able to create RKE template revisions, enable that role as default as well.

Result: Any new user created in this Rancher installation will be able to create RKE templates. Existing users will not get this permission.

Revoking Permission to Create Templates

Administrators can remove a user’s permission to create templates with the following steps. Note: Administrators have full control over all resources regardless of whether fine-grained permissions are selected.

  1. In the upper left corner, click ☰ > Users & Authentication.
  2. In the left navigation bar, click Users.
  3. Choose the user you want to edit permissions for and click ⋮ > Edit Config.
  4. In the Built-in section, un-check the box for Create RKE Templates and Create RKE Template Revisions, if applicable. In this section, you can change the user back to a standard user, or give the user a different set of permissions.
  5. Click Save.

Result: The user cannot create RKE templates.