Skip to end of banner
Go to start of banner

Hide time-tracking information

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

We've encountered an issue exporting this macro. Please try exporting this page again later.

Problem

You want to hide time-tracking details for customers, such as internal costs.

Solution

You can do this using Power Scripts™ Live Fields.

Enter the script provided below and link it to the main Live Fields configuration in your project.

The information is hidden on the user interface for users assigned the Customer role. However, it is still accessible when inspecting the page source.

hide_tt.sil
if(isUserInRole(currentUser(),project, "Customer")) {
 lfHide("timetracking_panel");
 lfHide("history_tab");
 lfHide("worklog_tab");
}

Table of Contents

  • No labels