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 8 Current »

Problem

You want to hide the time-tracking information for customers (for example, internal costs).

Solution

You can do this with Power Scripts™ Live Fields. Enter the below script and associate it with the main Live Fields configuration on your project.

The information is hidden on the user interface for users with the Customer role, but is still visible 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