Hiding user folders in PUC and PDI

One way you can centralize and secure content created by users is to hide individual users' Home folders in the Pentaho User Console (PUC) or in the PDI client. For example, if your organization implements multi-tenancy, you may want to prevent individual users from viewing their Home folders for security reasons.

You can configure your server to hide the Home folders by default for both PUC and PDI. When you create new users in your system, their Home folders will be hidden. If a user needs to create, edit, or save content, you can provide the Write permission in a folder that is visible to that user. Those users can then view the folder and access the content. You can add the Write permission in PUC and in the PDI client.

These tasks assume you are a Pentaho Administrator.

To centralize and secure content created by users, you can hide users' Home folders in PUC and in the PDI client.

Perform the following steps to edit the system.properties file so that when you create new users, their Home folders will be hidden by default.

  1. Stop the Pentaho Server.

    See the Install Pentaho Data Integration and Analytics document for instructions on starting and stopping the Pentaho Server.

  2. Navigate to /Pentaho/server/pentaho-server/pentaho-solutions/system and open the system.properties file with the text editor of your choice.

  3. Locate the hideUserHomeFolderOnCreate property. By default, this property is set to false.

  4. Change the setting to true as shown here:

    hideUserHomeFolderOnCreate=true

  5. Save and close the system.properties file.

  6. Start the Pentaho Server.

    See the Install Pentaho Data Integration and Analytics document for instructions on starting and stopping the Pentaho Server.

Now when you add a new user in either PUC or the PDI client, that user's Home folder is hidden by default. Later, you may need to perform one of the following actions:

Override the hidden Home folder for a user

Follow these steps to override the hidden Home folder for a specific user.

  1. Log in to PUC with your Pentaho Administrator credentials.

  2. Navigate to the Browse Files perspective.

  3. Select the user’s Home folder.

  4. In the Properties dialog box, clear the Hidden option.

The user's home folder is now visible.

Stop hiding the Home folder for new users

Follow these steps to stop creating users with their Home folders hidden by default.

  1. Stop the Pentaho Server.

  2. Navigate to /Pentaho/server/pentaho-server/pentaho-solutions/system and open the system.properties file with the text editor of your choice.

  3. Locate the hideUserHomeFolderOnCreate property.

  4. Change the setting to false as shown here:

    hideUserHomeFolderOnCreate=false

  5. Save and close the system.properties file.

  6. Start the Pentaho Server.

When you add a new user in either PUC or the PDI client, that user's Home folder is now visible.

See the Install Pentaho Data Integration and Analytics document for instructions on starting and stopping the Pentaho Server.

Assign the Write permission to a user folder

In PUC you can assign Write permission in a public folder to a user whose Home folder is hidden. When this permission is granted, the user can save and edit content they create using PUC.

  1. Log in to PUC with your Pentaho Administrator credentials.

  2. Select the Public folder, and then select or create the folder you want the user to access.

  3. Assign the Write permission to the user's folder:

    1. Click the Properties > Share tab and clear the Inherits folder permissions option.

    2. Click Add and select the user.

    3. Select the Write permissions for the user.

    4. Click OK to save your changes.

The user can now save their content in the assigned folder.

Last updated

Was this helpful?