Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

Info

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
Code Block
languagejava
if(isUserInRole(currentUser(),project, "Customer")) {
 lfHide("timetracking_panel");
 lfHide("history_tab");
 lfHide("worklog_tab");
}

Table of Contents

Table of Contents