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.
Hide Home folders for users in PUC and PDI
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.
Procedure
Navigate to /Pentaho/server/pentaho-server/pentaho-solutions/system and open the system.properties file with the text editor of your choice.
Locate the hideUserHomeFolderOnCreate property. By default, this property is set to
false.
Change the setting to
hideUserHomeFolderOnCreate=truetrue
as shown here:Save and close the system.properties file.
Results
- To override this setting for a specific user, see Override the hidden Home folder for a user.
- To stop hiding Home folders by default when you create new users, see Stop hiding the Home folder for new users.
- If a user whose Home folder is hidden needs to create, edit, or save any content, you must provide the Write permission in a folder that is visible to the user in PUC and in the PDI client. See the instructions for granting the Write permission to user folders in PUC or PDI.
Override the hidden Home folder for a user
Procedure
Log in to PUC with your Pentaho Administrator credentials.
Navigate to the Browse Files perspective.
Select the user’s Home folder.
In the Properties dialog box, clear the Hidden option.
Results
Stop hiding the Home folder for new users
Procedure
Navigate to /Pentaho/server/pentaho-server/pentaho-solutions/system and open the system.properties file with the text editor of your choice.
Locate the hideUserHomeFolderOnCreate property.
Change the setting to
hideUserHomeFolderOnCreate=falsefalse
as shown here:Save and close the system.properties file.
Results
Assign the Write permission to a user folder in PUC
Procedure
Log in to PUC with your Pentaho Administrator credentials.
Select the Public folder, and then select or create the folder you want the user to access.
Assign the Write permission to the user's folder:
Click the Inherits folder permissions option.
tab and clear theClick Add and select the user.
Select the Write permissions for the user.
Click OK to save your changes.
Results
Assign the Write permission to a user folder in the PDI client
Procedure
Connect to a Pentaho Repository with your Pentaho administrator credentials. If needed, create a connection.
Open the Repository Explorer by clicking
.On the Browse tab, select the Public folder, and then select or create the folder you want the user to access.
Select the newly created folder and grant Write permission to the new user by performing the following steps:
On the Access Control panel, clear the Inherit access control from parent option.
Click the Plus Sign to add a user.
From the list of users that displays, select the name of the user you want and click the Right Arrow to move the name to the Selected list. Click OK.
Select the user's name in the User/Role list and select the Write permission.
Click Apply to save your changes, then click OK to close the dialog box.
Close the Repository Explorer.
Results